This is the mail archive of the gdb-prs@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]

[Bug c++/16841] virtual inheritance via typedef cannot find base


https://sourceware.org/bugzilla/show_bug.cgi?id=16841

Zeson <westion717 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |westion717 at gmail dot com

--- Comment #5 from Zeson <westion717 at gmail dot com> ---
How about the progress of this bug?

I found it still exists in gdb 8.0.

typedef struct {
        int x;
} A;

struct C : A {
        int y;
};

int main()
{
        C c;
        return 55;
}

gdb a.out
ptype C::x
Internal error: non-aggregate type to value_struct_elt_for_reference

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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