summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorZach Shaftel <zshaftel@gmail.com>2020-06-19 14:53:20 -0400
committerrocky <rocky@gnu.org>2020-06-26 20:05:16 -0400
commit0cb1df1edd86986d5d7a3ecf607fe78af03d62a0 (patch)
tree11a5664dfff6f9545481f30a8e5c46cfef1ff770 /src/eval.c
parent58e112fe18abe48321a9a9b676d76fdb68ee833a (diff)
downloademacs-feature/zach-soc-bytecode-in-traceback.tar.gz
Store the bytecode offset in thread_statefeature/zach-soc-bytecode-in-traceback
* src/lisp.h: * src/eval.c (backtrace_byte_offset): Remove global variable, and put it... * src/thread.h (thread_state): ...in here as m_backtrace_byte_offset, and define backtrace_byte_offset as a macro that points to it. * src/bytecode.c (UPDATE_OFFSET): Move out of #ifdef BYTE_CODE_THREADED.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 5b43b81a6ca..73ad3d3bc90 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -56,8 +56,6 @@ Lisp_Object Vrun_hooks;
/* FIXME: We should probably get rid of this! */
Lisp_Object Vsignaling_function;
-int backtrace_byte_offset = -1;
-
/* These would ordinarily be static, but they need to be visible to GDB. */
bool backtrace_p (union specbinding *) EXTERNALLY_VISIBLE;
Lisp_Object *backtrace_args (union specbinding *) EXTERNALLY_VISIBLE;