summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.java
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-05-14 16:44:27 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-05-14 16:44:27 +0000
commit32445dae17ad6bc15945d3b2d3c8acadfe99feb6 (patch)
treeaa6e1c90aadb819bdc947f10ba42acd33a7d3575 /gdb/testsuite/gdb.java
parentd5861a7c397f720ab431e96788bff092e0a58484 (diff)
downloadgdb-32445dae17ad6bc15945d3b2d3c8acadfe99feb6.tar.gz
* 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/gdb.java')
-rw-r--r--gdb/testsuite/gdb.java/jprint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.java/jprint.java b/gdb/testsuite/gdb.java/jprint.java
index f17607efe76..4275e89e463 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);
}
}