2005-12-27 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 28 Dec 2005 05:44:02 +0000 (05:44 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 28 Dec 2005 05:44:02 +0000 (05:44 +0000)
* sysdeps/am33/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.

sysdeps/am33/bits/setjmp.h

index 5864b92..879ecb6 100644 (file)
@@ -30,5 +30,5 @@ typedef int __jmp_buf[26];
 
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
-#define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) (jmpbuf[__JMP_BUF_SP]))
+#define _JMPBUF_UNWINDS(jmpbuf, address, demangle)                     \
+  ((void *) (address) < (void *) demangle (jmpbuf[__JMP_BUF_SP]))