This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]