* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
authorAndreas Schwab <schwab@suse.de>
Wed, 22 Apr 1998 02:07:41 +0000 (02:07 +0000)
committerAndreas Schwab <schwab@suse.de>
Wed, 22 Apr 1998 02:07:41 +0000 (02:07 +0000)
sysdeps/m68k/bits/setjmp.h

index a302b72..aa376a0 100644 (file)
@@ -39,3 +39,8 @@ typedef struct
 #endif
 
   } __jmp_buf[1];
+
+/* Test if longjmp to JMPBUF would unwind the frame
+   containing a local variable at ADDRESS.  */
+#define _JMPBUF_UNWINDS(jmpbuf, address) \
+  ((void *) (address) < (void *) (jmpbuf)->__sp)