From 2294fb8aa20e50ee17a719a26058d8d698227bb7 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 25 Apr 2002 06:47:29 +0000 Subject: [PATCH] (ia64_create_state_record) [IA_UNW_DEBUG]: Display state record for default frame state as well. (Logical change 1.18) --- src/ia64/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ia64/parser.c b/src/ia64/parser.c index a7d93dd5..cbaf0d60 100644 --- a/src/ia64/parser.c +++ b/src/ia64/parser.c @@ -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) {