* 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* Re: multiple inheritance 2008-05-09 20:12 multiple inheritance darkskill @ 2008-05-11 21:27 ` Daniel Jacobowitz 2008-05-12 15:34 ` darkskill 0 siblings, 1 reply; 3+ messages in thread From: Daniel Jacobowitz @ 2008-05-11 21:27 UTC (permalink / raw) To: darkskill; +Cc: gdb On Fri, May 09, 2008 at 01:12:31PM -0700, darkskill wrote: > gdb crashed when I set a breakpoint at the last line of these : What version of GDB? What platform? What compiler? If you are not already, I suggest you get the latest version of GDB and try that. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: multiple inheritance 2008-05-11 21:27 ` Daniel Jacobowitz @ 2008-05-12 15:34 ` darkskill 0 siblings, 0 replies; 3+ messages in thread From: darkskill @ 2008-05-12 15:34 UTC (permalink / raw) To: gdb I downloaded the last version of gdb and It works. I feel a little stupid... Thank you anyway -- View this message in context: http://www.nabble.com/multiple-inheritance-tp17155652p17189805.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