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: [RFA] PR 11530: Fix and test case


>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:

Pierre> I just want to fix the simple case in which there is
Pierre> no, name conflict.

It seems pretty reasonable to me.

Pierre>   With my patch, GDB will find the first instance
Pierre> that matches the field name, but I don't even know 
Pierre> if the ordering given by the debug information necessarily 
Pierre> follows the definition order in the source!

I skimmed this part of the DWARF 4 spec (5.5.6 Data Member Entries) but
I didn't see any such requirement.

I'm not too concerned about this.

Pierre>   Anyhow, this patch is only useful for sizeof (),
Pierre> not for printing of the value itself, which
Pierre> was already working...

That is interesting.  Why does it work in one case but not the other?

Tom


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