This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Of course, it figures


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]