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

Tom Tromey
2011-10-20T16:35:12Z

>>>>> "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