diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-07 23:51:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-07 23:51:03 +0000 |
commit | 046245839052222161e5cb1233a0f4ca55cfffba (patch) | |
tree | 5f03d8e8715954687d0c45b965b47cf1e4e01595 /gdb/jv-lang.c | |
parent | 55bc2f369cdb7533c18144abed052fce62e66000 (diff) | |
download | gdb-046245839052222161e5cb1233a0f4ca55cfffba.zip gdb-046245839052222161e5cb1233a0f4ca55cfffba.tar.gz gdb-046245839052222161e5cb1233a0f4ca55cfffba.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (deprecated_set_value_type): Declare.
* value.c (deprecated_set_value_type): Define.
* hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
* c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
* infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
* ax-gdb.c, tracepoint.c: Update.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index bc2264f..230ee86 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -320,7 +320,7 @@ type_from_class (struct value *clas) temp = clas; /* Set array element type. */ temp = value_struct_elt (&temp, NULL, "methods", NULL, "structure"); - temp->type = lookup_pointer_type (value_type (clas)); + deprecated_set_value_type (temp, lookup_pointer_type (value_type (clas))); TYPE_TARGET_TYPE (type) = type_from_class (temp); } @@ -890,7 +890,7 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp, /* Get CLASS_ELEMENT_TYPE of the array type. */ temp = value_struct_elt (&temp, NULL, "methods", NULL, "structure"); - temp->type = value_type (clas); + deprecated_set_value_type (temp, value_type (clas)); el_type = type_from_class (temp); if (TYPE_CODE (el_type) == TYPE_CODE_STRUCT) el_type = lookup_pointer_type (el_type); |