1
0
Fork 0
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:
hp.com!davidm 2003-04-25 07:44:23 +00:00
parent dc34eda2fc
commit 1045cb2cc0

View file

@ -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