mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-27 21:43:42 +01:00
(unw_get_save_loc): Check c->last_abi_marker == ABI_MARKER_LINUX_SIGTRAMP instead
of for a non-NULL sigcontext_addr. (Logical change 1.89)
This commit is contained in:
parent
dc34eda2fc
commit
1045cb2cc0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc)
|
|||
return ret;
|
||||
}
|
||||
#if !defined(UNW_LOCAL_ONLY) || defined(__linux)
|
||||
else if (c->sigcontext_addr)
|
||||
else if (c->last_abi_marker == ABI_MARKER_LINUX_SIGTRAMP)
|
||||
/* NaT bit is saved in a sigcontext. */
|
||||
loc = IA64_LOC_ADDR (c->sigcontext_addr + LINUX_SC_NAT_OFF, 0);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue