Of course, it figures
Daniel Berlin
dan@cgsoftware.com
Thu Jul 19 12:17:00 GMT 2001
I'd have sent the file that was one version too old.
Apply this patch to it.
:)
*** newdwarf2read.c Thu Jul 19 15:06:08 2001
--- dwarf2read.c Thu Jul 19 15:16:02 2001
*************** read_comp_unit_dies (char *info_ptr, str
*** 3331,3336 ****
--- 3331,3337 ----
DW_AT_sibling,
cui));
cur_ptr = cui->info_buffer + (offset - cui->offset);
+ if (current_parent)
current_parent = current_parent->parent;
continue;
}
*************** read_comp_unit_dies (char *info_ptr, str
*** 3344,3349 ****
--- 3345,3351 ----
if (die->tag == 0)
{
nesting_level--;
+ if (current_parent)
current_parent = current_parent->parent;
}
die->next = NULL;
--
"I've never seen electricity, so I don't pay for it. I write
right on the bill, "I'm sorry, I haven't seen it all month."
"-Steven Wright
More information about the Gdb-patches
mailing list