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


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


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