* 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.
This commit is contained in:
parent
bfe9c90b9a
commit
dc5000e721
6 changed files with 19 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue