1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 20:03:43 +01:00

(ia64_access_reg): r15-r18 should refer to sigcontext IFF the cursor is currently

pointing at the signal trampoline frame.  Otherwise, raising an exception from within
a signal handler will fail to pass the exception arguments to the exception handler.

(Logical change 1.19)
This commit is contained in:
mostang.com!davidm 2002-07-18 03:58:34 +00:00
parent e3cb03d7b6
commit d603a5b4bb

View file

@ -383,7 +383,7 @@ ia64_access_reg (struct ia64_cursor *c, unw_regnum_t reg, unw_word_t *valp,
break;
case UNW_IA64_GR + 15 ... UNW_IA64_GR + 18:
if (c->sigcontext_loc)
if ((c->pi.flags & IA64_FLAG_SIGTRAMP) != 0)
loc = ia64_scratch_loc (c, reg);
else
{