This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Dont skip DW_TAG_member in load_partial_dies()
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Manoj Iyer <manjo at austin dot ibm dot com>,gdb-patches at sources dot redhat dot com, Elena Zannoni <ezannoni at redhat dot com>
- Date: Tue, 15 Feb 2005 15:35:03 -0800
- Subject: Re: [RFC] Dont skip DW_TAG_member in load_partial_dies()
- References: <Pine.LNX.4.58.0502151434470.29945@lazy> <20050215232018.GB8631@nevyn.them.org>
> 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