about summary refs log tree commit diff
path: root/nptl/unwind.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-04 05:57:06 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-04 05:57:06 +0000
commit58e8ec84f450f5f4eb00f4c445de9562bfa359e9 (patch)
tree943fa8c31e4cd0573b96e92595c5beea375155a0 /nptl/unwind.c
parent35504a6f2d420cb5c80dff987d7e76d5fd0f109b (diff)
downloadglibc-58e8ec84f450f5f4eb00f4c445de9562bfa359e9.tar.gz
glibc-58e8ec84f450f5f4eb00f4c445de9562bfa359e9.tar.xz
glibc-58e8ec84f450f5f4eb00f4c445de9562bfa359e9.zip
Update.
22003-09-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.

003-09-03  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'nptl/unwind.c')
-rw-r--r--nptl/unwind.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl/unwind.c b/nptl/unwind.c
index 9bde166480..a879e9297f 100644
--- a/nptl/unwind.c
+++ b/nptl/unwind.c
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <unistd.h>
 #include "pthreadP.h"
-
+#include "jmpbuf-unwind.h"
 
 #ifdef HAVE_FORCED_UNWIND
 
@@ -41,8 +41,7 @@ unwind_stop (int version, _Unwind_Action actions,
      of a function is NOT within it's stack frame; it's the SP of the
      previous frame.  */
   if ((actions & _UA_END_OF_STACK)
-      || ! _JMPBUF_UNWINDS  (buf->cancel_jmp_buf[0].jmp_buf,
-			     _Unwind_GetCFA (context)))
+      || ! _JMPBUF_CFA_UNWINDS  (buf->cancel_jmp_buf[0].jmp_buf, context))
     __libc_longjmp ((struct __jmp_buf_tag *) buf->cancel_jmp_buf, 1);
 
   return _URC_NO_REASON;