This is the mail archive of the gdb-patches@sourceware.org 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] Work around invalid G++ DWARF for unnamed aggregates


>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> It should be easy to work around this problem with older GCC
Ulrich> versions by simply ignoring DW_AT_name attributes with such
Ulrich> names in dwarf2_name.  The patch below implements this.  It also
Ulrich> fixes a logic bug in completer.c exposed by this change, where
Ulrich> in an unnamed struct *every* method was considered to be a
Ulrich> constructor (instead of none).
[...]
Ulrich> Does this look reasonable?

FWIW, yes, it looks reasonable to me.

Tom


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