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 11:32:15AM -0700, Joel Brobecker wrote:
> Back to the issue at hand, it therefore seems pretty desirable to
> enhance the debugger in that case. Unfortunately, I don't think
> the proposed patch is correct, because it bases the logic on the
> size of the union/struct instead of whether the field is anonymous
> or not. Do you agree?

Right.  I would be happy to treat anonymous unions specially here.

-- 
Daniel Jacobowitz
CodeSourcery


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