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/c-valprint.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/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index a18ef0f..948f5d8 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -531,7 +531,7 @@ c_value_print (struct value *val, struct ui_file *stream, int format, */ struct value *temparg; temparg=value_copy(val); - temparg->type = lookup_pointer_type (TYPE_TARGET_TYPE(type)); + deprecated_set_value_type (temparg, lookup_pointer_type (TYPE_TARGET_TYPE(type))); val=temparg; } /* Pointer to class, check real type of object */ |