diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-05-14 16:44:27 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-05-14 16:44:27 +0000 |
commit | dc5000e72188dd452616737a08bd11b320a8d25d (patch) | |
tree | 358b3e50ad8ddfba9260d2608832e16d96bb9342 /gdb/testsuite | |
parent | bfe9c90b9ad82475c78ff876f377f96489afb65c (diff) | |
download | gdb-dc5000e72188dd452616737a08bd11b320a8d25d.zip gdb-dc5000e72188dd452616737a08bd11b320a8d25d.tar.gz gdb-dc5000e72188dd452616737a08bd11b320a8d25d.tar.bz2 |
* jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
* gdb.java/jprint.java (public): Avoid invalid call to static
method.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.java/jprint.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fabd894..a6b1d97 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> + + * gdb.java/jprint.java (public): Avoid invalid call to static + method. + 2007-05-14 Denis Pilat <denis.pilat@st.com> * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp, diff --git a/gdb/testsuite/gdb.java/jprint.java b/gdb/testsuite/gdb.java/jprint.java index f17607e..4275e89 100644 --- a/gdb/testsuite/gdb.java/jprint.java +++ b/gdb/testsuite/gdb.java/jprint.java @@ -54,7 +54,7 @@ public class jprint extends jvclass { } public static void main(String[] args) { jprint x = new jprint (); - x.print (44); + x.dothat (44); print (k, 33); } } |