[RFC] Dont skip DW_TAG_member in load_partial_dies()

Joel Brobecker brobecker@adacore.com
Wed Feb 16 02:18:00 GMT 2005


> I'm copying this to Elena, since she is the maintainer of the DWARF-2
> reader.  Your patch looks right to me.  In fact, I've been working on
> running the GDB testsuite using ARM's compiler today, and I have a
> patch that looks exactly like this in my working directory :-)

We also found the same sort of problem for Ada, and ended up doing
the same thing. We haven't had time to submit this change yet, as
there were a few things we wanted to thing about before doing so.

Just FYI: Here is the change we've made so far in gdb-6.3.

       if (abbrev->tag == DW_TAG_subprogram
          || abbrev->tag == DW_TAG_variable
          || abbrev->tag == DW_TAG_namespace
+          || abbrev->tag == DW_TAG_enumeration_type
+          || abbrev->tag == DW_TAG_structure_type

-- 
Joel



More information about the Gdb-patches mailing list