From 09aa4183f6f541d72c26cc804dd68f454ab6e418 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Tue, 8 Jul 2003 22:29:34 +0000 Subject: [PATCH] (unw_get_save_loc): Also check for ABI_MARKER_OLD_LINUX_SIGTRAMP. Check against UNW_IA64_AR_SSD instead of UNW_IA64_AR_26. (Logical change 1.91) --- src/ia64/Gget_save_loc-ia64.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ia64/Gget_save_loc-ia64.c b/src/ia64/Gget_save_loc-ia64.c index 1b61e2c5..8f697ed1 100644 --- a/src/ia64/Gget_save_loc-ia64.c +++ b/src/ia64/Gget_save_loc-ia64.c @@ -86,7 +86,8 @@ 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->last_abi_marker == ABI_MARKER_LINUX_SIGTRAMP) + else if (c->last_abi_marker == ABI_MARKER_LINUX_SIGTRAMP + || c->last_abi_marker == ABI_MARKER_OLD_LINUX_SIGTRAMP) /* NaT bit is saved in a sigcontext. */ loc = IA64_LOC_ADDR (c->sigcontext_addr + LINUX_SC_NAT_OFF, 0); #endif @@ -145,7 +146,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc) case UNW_IA64_BR + 7: case UNW_IA64_AR_RSC: case UNW_IA64_AR_CSD: - case UNW_IA64_AR_26: + case UNW_IA64_AR_SSD: case UNW_IA64_AR_CCV: loc = ia64_scratch_loc (c, reg); break;