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


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

Cool!  Carlos, would you be able to look into that? I promise to
review any patch promptly.

-- 
Joel


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