Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: darkskill <chaster_killer@hotmail.fr>
To: gdb@sourceware.org
Subject: multiple inheritance
Date: Fri, 09 May 2008 20:12:00 -0000	[thread overview]
Message-ID: <17155652.post@talk.nabble.com> (raw)


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.


             reply	other threads:[~2008-05-09 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 20:12 darkskill [this message]
2008-05-11 21:27 ` Daniel Jacobowitz
2008-05-12 15:34   ` darkskill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17155652.post@talk.nabble.com \
    --to=chaster_killer@hotmail.fr \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox