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

Joel Brobecker
2007-08-28T20:34:29Z

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