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

Luis Machado
2007-08-28T19:03:23Z

Joel Brobecker wrote:
> Similarly in your example:
>
> (gdb) ptype mypage.u
> type = union {
> struct {
> int mapping;
> };
> }

Are you considering a named Union structure here? I could not reproduce
this locally, since there's no such member "u" in the data structure.

Regards,
Luis