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


> > Yes, I had to add a name to this field. Otherwise, there is no way
> > to name it!
> >
> What about the case of an unnamed union, such as in my example?  GDB
> won't support displaying its members then?

Does this case actually make any sense? I don't think you can access
this union in your C program either, or can you?

-- 
Joel


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