Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* multiple inheritance
@ 2008-05-09 20:12 darkskill
  2008-05-11 21:27 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: darkskill @ 2008-05-09 20:12 UTC (permalink / raw)
  To: gdb


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-12 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-09 20:12 multiple inheritance darkskill
2008-05-11 21:27 ` Daniel Jacobowitz
2008-05-12 15:34   ` darkskill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox