This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15569] gdb picks wrong base class method
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 03 Jun 2013 23:52:07 +0000
- Subject: [Bug c++/15569] gdb picks wrong base class method
- Auto-submitted: auto-generated
- References: <bug-15569-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15569
--- Comment #1 from dje at google dot com ---
Oops. The gdb session should be:
(gdb) start
...
(gdb) n
25 base2 *b2 = new base2;
(gdb) n
26 derived *d = new derived;
(gdb) n
27 return b1->foo (0) + b2->foo (0) + d->foo (0);
(gdb) pty d->foo(0)
double
--
You are receiving this mail because:
You are on the CC list for the bug.