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]

Regression: gdb.java/jprint.exp: inherited static call [3/5] make value_primitive_field respect virtual bases


On Tue, 28 Feb 2012 22:32:46 +0100, Tom Tromey wrote:
> Subject: [PATCH 3/5] 	* value.c (value_primitive_field): Handle
>  virtual base classes.

p x.addprint(1,2,3)
sum is 6
$4 = 6
(gdb) PASS: gdb.java/jprint.exp: inherited static call

->

p x.addprint(1,2,3)
Cannot access memory at address 0x33
(gdb) FAIL: gdb.java/jprint.exp: inherited static call

5c4b7c74f38156e80e2b3c1c57f070ea45bcde1c is the first bad commit
commit 5c4b7c74f38156e80e2b3c1c57f070ea45bcde1c
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 18:28:15 2012 +0000

	* value.c (value_primitive_field): Handle virtual base classes.


Regards,
Jan


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