This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH v2] gdb/python: add missing handling for anonymous members of struct and union
>>>>> "Paul" == Paul Koning <email@example.com> writes:
Paul> So I think that amounts to rejecting Yu's patch.
Yeah, I'm afraid so.
Paul> Also, given my point 3, does that mean we should change val["foo"] so
Paul> it doesn't recurse down into anonymous fields as it does today? That
Paul> would be a change in behavior for an existing feature.
I am not sure about this one :(
>> I would be in favor of helper functions in gdb.types, though.
Paul> What did you have in mind?
The sort of deep iterator you posted earlier.