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/p-exp.y | |
parent | 55bc2f369cdb7533c18144abed052fce62e66000 (diff) | |
download | binutils-gdb-046245839052222161e5cb1233a0f4ca55cfffba.tar.gz |
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/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index a80f8e9275b..5a61276fb3b 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -521,7 +521,7 @@ exp : THIS /* we need type of this */ this_val = value_of_this (0); if (this_val) - this_type = this_val->type; + this_type = value_type (this_val); else this_type = NULL; if (this_type) @@ -672,7 +672,7 @@ variable: name_not_typename /* we need type of this */ this_val = value_of_this (0); if (this_val) - this_type = this_val->type; + this_type = value_type (this_val); else this_type = NULL; if (this_type) |