This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix virtual base class bugs
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 3 Feb 2010 06:30:32 +0100
- Subject: Re: RFC: fix virtual base class bugs
- References: <m34om4an5g.fsf@fleche.redhat.com> <m31vh337te.fsf@fleche.redhat.com>
On Tue, 02 Feb 2010 17:45:33 +0100, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
>
> Tom> This patch fixes all the virtual base class printing bugs I could find.
> Tom> I plan to check this in soon unless there are comments or objections.
>
> I checked this in.
On x86_64-unknown-linux-gnu (Fedora 12, gcc-c++-4.4.2-20.fc12.x86_64):
Running ./gdb.cp/virtbase.exp ...
PASS: gdb.cp/virtbase.exp: continue to breakpoint: first breakpoint
PASS: gdb.cp/virtbase.exp: print *this
FAIL: gdb.cp/virtbase.exp: print x
PASS: gdb.cp/virtbase.exp: continue to breakpoint: second breakpoint
PASS: gdb.cp/virtbase.exp: print x
PASS: gdb.cp/virtbase.exp: continue to breakpoint: third breakpoint
print x
-$2 = 2
-(gdb) PASS: gdb.cp/virtbase.exp: print x
+$2 = 4197400
+(gdb) FAIL: gdb.cp/virtbase.exp: print x
("print x" name could be unique)
Unaware of the reason.
Regards,
Jan