This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15569] gdb picks wrong base class method


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]