mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-10-02 11:29:32 +02:00
(ia64_create_state_record) [IA_UNW_DEBUG]: Display state record for default
frame state as well. (Logical change 1.18)
This commit is contained in:
parent
c845317889
commit
2294fb8aa2
1 changed files with 3 additions and 3 deletions
|
@ -809,13 +809,12 @@ ia64_create_state_record (struct ia64_cursor *c, struct ia64_state_record *sr)
|
||||||
if (!c->pi.desc)
|
if (!c->pi.desc)
|
||||||
{
|
{
|
||||||
/* No info, return default unwinder (leaf proc, no mem stack, no
|
/* No info, return default unwinder (leaf proc, no mem stack, no
|
||||||
saved regs). */
|
saved regs), rp in b0, pfs in ar.pfs. */
|
||||||
dprintf ("unwind: no unwind info for ip=0x%lx\n", (long) ip);
|
dprintf ("unwind: no unwind info for ip=0x%lx\n", (long) ip);
|
||||||
sr->curr.reg[IA64_REG_RP].where = IA64_WHERE_BR;
|
sr->curr.reg[IA64_REG_RP].where = IA64_WHERE_BR;
|
||||||
sr->curr.reg[IA64_REG_RP].when = -1;
|
sr->curr.reg[IA64_REG_RP].when = -1;
|
||||||
sr->curr.reg[IA64_REG_RP].val = 0;
|
sr->curr.reg[IA64_REG_RP].val = 0;
|
||||||
STAT(unw.stat.parse.time += ia64_get_itc () - start);
|
goto out;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sr->when_target = (3 * ((ip & ~0xfUL) - c->pi.proc_start)
|
sr->when_target = (3 * ((ip & ~0xfUL) - c->pi.proc_start)
|
||||||
|
@ -854,6 +853,7 @@ ia64_create_state_record (struct ia64_cursor *c, struct ia64_state_record *sr)
|
||||||
sr->curr.reg[IA64_REG_RP].val = sr->return_link_reg;
|
sr->curr.reg[IA64_REG_RP].val = sr->return_link_reg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out:
|
||||||
#if IA64_UNW_DEBUG
|
#if IA64_UNW_DEBUG
|
||||||
if (unw.debug_level > 0)
|
if (unw.debug_level > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue