mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 23:47:39 +01:00
(sighandler): Adjust for <asm/rse.h> -> <ia64/rse.h> changes.
(Logical change 1.226)
This commit is contained in:
parent
f1c025e957
commit
2d2129a5bc
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ sighandler (int signal, void *siginfo, void *context)
|
||||||
printf ("sighandler: signal %d sp=%p nat=%08lx pr=%lx\n",
|
printf ("sighandler: signal %d sp=%p nat=%08lx pr=%lx\n",
|
||||||
signal, &sp, uc->uc_mcontext.sc_nat, uc->uc_mcontext.sc_pr);
|
signal, &sp, uc->uc_mcontext.sc_nat, uc->uc_mcontext.sc_pr);
|
||||||
sof = uc->uc_mcontext.sc_cfm & 0x7f;
|
sof = uc->uc_mcontext.sc_cfm & 0x7f;
|
||||||
bsp = ia64_rse_skip_regs ((unsigned long *) uc->uc_mcontext.sc_ar_bsp,
|
bsp = (unsigned long *) ia64_rse_skip_regs (uc->uc_mcontext.sc_ar_bsp,
|
||||||
-sof);
|
-sof);
|
||||||
}
|
}
|
||||||
#elif defined(__hpux)
|
#elif defined(__hpux)
|
||||||
if (__uc_get_ar (uc, UNW_IA64_AR_BSP - UNW_IA64_AR, &bsp) != 0)
|
if (__uc_get_ar (uc, UNW_IA64_AR_BSP - UNW_IA64_AR, &bsp) != 0)
|
||||||
|
|
Loading…
Reference in a new issue