From b7b189f3cf682e67fb3ccd5908ec4b980735a620 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 5 Mar 2012 19:38:17 +0000 Subject: * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. gdb/testsuite * gdb.java/jprint.java (jprint.main): Keep 'x' live. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.java/jprint.java | 1 + 2 files changed, 5 insertions(+) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d941bb5..4123476 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-03-05 Tom Tromey + + * gdb.java/jprint.java (jprint.main): Keep 'x' live. + 2012-03-04 Yao Qi * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error diff --git a/gdb/testsuite/gdb.java/jprint.java b/gdb/testsuite/gdb.java/jprint.java index 3d55dc3..0a5e7d3 100644 --- a/gdb/testsuite/gdb.java/jprint.java +++ b/gdb/testsuite/gdb.java/jprint.java @@ -61,6 +61,7 @@ public class jprint extends jvclass { jprint x = new jprint (); x.dothat (44); print (k, 33); + print (x.addk(0), 33); } } -- cgit v1.1