Re: [patch] ptype: show members of an unnamed struct inside an union

Daniel Jacobowitz
2007-08-29T20:23:48Z

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