From 1045cb2cc084ebf727bcdca8c298db3a4d4ca597 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Fri, 25 Apr 2003 07:44:23 +0000 Subject: [PATCH] (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) --- src/ia64/Gget_save_loc-ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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