diff src/backtrace.h @ 2532:989a7680c221

[xemacs-hg @ 2005-01-29 09:15:55 by ben] Add backtrace when throwing past call_trapping_problems() alloc.c, backtrace.h, bytecode.c, cmdloop.c, eval.c, lisp.h, macros.c: Also include a backtrace when we catch an attempt to throw outside of a function where call_trapping_problems() has been used.
author ben
date Sat, 29 Jan 2005 09:16:00 +0000
parents f3437b56874d
children 308d34e9f07d
line wrap: on
line diff
--- a/src/backtrace.h	Sat Jan 29 09:06:40 2005 +0000
+++ b/src/backtrace.h	Sat Jan 29 09:16:00 2005 +0000
@@ -141,6 +141,8 @@
     /* Stores the actual tag used in `throw'; the same as TAG, unless
        TAG is Vcatch_everything_tag. */
     Lisp_Object actual_tag;
+    /* A backtrace prior to the throw, used with Vcatch_everything_tag. */
+    Lisp_Object backtrace;
     Lisp_Object val;
     struct catchtag *next;
     struct gcpro *gcpro;