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]
Other format: [Raw text]

Re: [RFC] Dont skip DW_TAG_member in load_partial_dies()


> 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


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