[PATCH v2] gdb/python: add missing handling for anonymous members of struct and union

Tom Tromey tromey@redhat.com
Thu Oct 20 18:49:00 GMT 2011


>>>>> "Paul" == Paul Koning <paulkoning@comcast.net> 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.

Tom



More information about the Gdb-patches mailing list