diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.java/jprint.java | 1 |
2 files changed, 5 insertions, 0 deletions
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 <tromey@redhat.com> + + * gdb.java/jprint.java (jprint.main): Keep 'x' live. + 2012-03-04 Yao Qi <yao@codesourcery.com> * 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); } } |