This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
multiple inheritance
- From: darkskill <chaster_killer at hotmail dot fr>
- To: gdb at sourceware dot org
- Date: Fri, 9 May 2008 13:12:31 -0700 (PDT)
- Subject: 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.