diff --git a/src/ia64/Gget_save_loc-ia64.c b/src/ia64/Gget_save_loc-ia64.c index 12079d68..1b61e2c5 100644 --- a/src/ia64/Gget_save_loc-ia64.c +++ b/src/ia64/Gget_save_loc-ia64.c @@ -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