mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-24 12:13:42 +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:
parent
e3cb03d7b6
commit
d603a5b4bb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue