From cf1b2c7b8cfc22cc298e4746b2b47d7b155b815a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 22 Apr 1998 02:07:41 +0000 Subject: * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. Wed Apr 22 11:06:09 1998 Andreas Schwab * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. --- sysdeps/m68k/bits/setjmp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/m68k/bits/setjmp.h b/sysdeps/m68k/bits/setjmp.h index a302b72393..aa376a0925 100644 --- a/sysdeps/m68k/bits/setjmp.h +++ b/sysdeps/m68k/bits/setjmp.h @@ -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) -- cgit v1.2.3-70-g09d2