1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-30 21:21:45 +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:
mostang.com!davidm 2002-04-25 06:47:29 +00:00
parent c845317889
commit 2294fb8aa2

View file

@ -809,13 +809,12 @@ ia64_create_state_record (struct ia64_cursor *c, struct ia64_state_record *sr)
if (!c->pi.desc)
{
/* 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);
sr->curr.reg[IA64_REG_RP].where = IA64_WHERE_BR;
sr->curr.reg[IA64_REG_RP].when = -1;
sr->curr.reg[IA64_REG_RP].val = 0;
STAT(unw.stat.parse.time += ia64_get_itc () - start);
return 0;
goto out;
}
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;
}
out:
#if IA64_UNW_DEBUG
if (unw.debug_level > 0)
{