This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression: gdb.java/jprint.exp: inherited static call [3/5] make value_primitive_field respect virtual bases
- 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: Sat, 3 Mar 2012 07:30:31 +0100
- Subject: Regression: gdb.java/jprint.exp: inherited static call [3/5] make value_primitive_field respect virtual bases
- References: <87r4xeprsx.fsf@fleche.redhat.com>
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