This is the mail archive of the gdb-patches@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]

Re: RFC: fix virtual base class bugs


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


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