mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-16 18:21:41 +01:00
Fix handling of SA_SIGINFO frames on 32 bit x86
Submitted by: Arne de Bruijn <mail@arnedebruijn.nl>
This commit is contained in:
parent
6203f1cd0f
commit
2b7ca45acc
1 changed files with 3 additions and 3 deletions
|
@ -50,9 +50,9 @@ unw_is_signal_frame (unw_cursor_t *cursor)
|
|||
without SA_SIGINFO, and
|
||||
|
||||
__restore_rt:
|
||||
0xb8 0xad 0x00 0x00 0x00 movl 0x80,%eax
|
||||
0xb8 0xad 0x00 0x00 0x00 movl 0xad,%eax
|
||||
0xcd 0x80 int 0x80
|
||||
0x90 nop
|
||||
0x00
|
||||
|
||||
if SA_SIGINFO is specified.
|
||||
*/
|
||||
|
@ -61,7 +61,7 @@ unw_is_signal_frame (unw_cursor_t *cursor)
|
|||
|| (ret = (*a->access_mem) (as, ip + 4, &w1, 0, arg)) < 0)
|
||||
return ret;
|
||||
ret = ((w0 == 0x0077b858 && w1 == 0x80cd0000)
|
||||
|| (w0 == 0x0000adb8 && w1 == 0x9080cd00));
|
||||
|| (w0 == 0x0000adb8 && (w1 & 0xffffff) == 0x80cd00));
|
||||
Debug (16, "returning %d\n", ret);
|
||||
return ret;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue