[patch] ptype: show members of an unnamed struct inside an union
Daniel Jacobowitz
drow@false.org
Wed Aug 29 20:23:00 GMT 2007
On Wed, Aug 29, 2007 at 05:14:38PM -0300, Carlos Eduardo Seo wrote:
> I believe this simple fix addresses the issue. It also fixes one thing
> that was wrong with the previous patch: GDB was showing "{...}" when a
> struct had no members, instead of <no data fields>.
>
> What do you think?
This isn't the same as what we were talking about. This is when the
type has no name; an anonymous union is when the field has no name.
This might be a good idea too - I'm not decided on that...
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list