From 22e898a099920ed6bfc2fe504f62e2ee527e52ce Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Sat, 16 Nov 2002 06:50:04 +0000 Subject: [PATCH] (unw_get_save_loc): Adjust for fact that context pointer is now stored in c->as_arg, which is a "void *". (Logical change 1.27) --- src/ia64/unw_get_save_loc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ia64/unw_get_save_loc.c b/src/ia64/unw_get_save_loc.c index 28311e67..7cbe3576 100644 --- a/src/ia64/unw_get_save_loc.c +++ b/src/ia64/unw_get_save_loc.c @@ -49,7 +49,8 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc) else if (reg >= 4 && reg <= 7) { #ifdef UNW_LOCAL_ONLY - loc = c->uc->uc_mcontext.sc_nat; + ucontext_t *uc = c->as_arg; + loc = uc->uc_mcontext.sc_nat; #else loc = IA64_REG_LOC (c, UNW_IA64_NAT + reg); #endif