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

multiple inheritance


Hi,

gdb crashed when I set a breakpoint at the last line of these :

struct A
{
    virtual A * me2()
            { return this; }
};
 
struct B
{
    virtual B * me() { return this; };
};
 
 
struct C : public A, public B
{
    C * me() {return this; }
    C * me2() {return this; }
};
 
C test;

How come ?
-- 
View this message in context: http://www.nabble.com/multiple-inheritance-tp17155652p17155652.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.


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