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/jv-lang.c | |
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/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 07d1f45..17516e0 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -928,7 +928,7 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp, goto nosideret; return java_value_string (&exp->elts[pc + 2].string, i); - case STRUCTOP_STRUCT: + case STRUCTOP_PTR: arg1 = evaluate_subexp_standard (expect_type, exp, pos, noside); /* Convert object field (such as TYPE.class) to reference. */ if (TYPE_CODE (value_type (arg1)) == TYPE_CODE_STRUCT) |