1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 23:47:39 +01:00

(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)
This commit is contained in:
mostang.com!davidm 2002-11-16 06:50:04 +00:00
parent 09eaf30ca4
commit 22e898a099

View file

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