gdb/
authorAnton Gorenkov <xgsa@sourceware.org>
Tue, 21 Feb 2012 13:48:59 +0000 (13:48 +0000)
committerAnton Gorenkov <xgsa@sourceware.org>
Tue, 21 Feb 2012 13:48:59 +0000 (13:48 +0000)
commitdfcee124897d3395925bdfbfded468c9c81394a0
treeff8b1acd9e1b0763ff5edff8183a73fbc997643e
parent16a87420985f256b5cde070586ebcdfda2225b01
gdb/
* c-valprint.c (c_value_print): Use value_rtti_indirect_type
instead of value_rtti_target_type.
* eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
instead of value_rtti_target_type.
* typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
value_rtti_target_type.
* valops.c (value_ind): Extract function readjust_indirect_value_type.
(value_rtti_target_type): Rename to ...
(value_rtti_indirect_type): ... here and make it indirect.  Update
function comment.
* value.c (readjust_indirect_value_type): New function.
(coerce_ref): Support for enclosing type setting for references
with readjust_indirect_value_type.
* value.h (readjust_value_type): New declaration.
(value_rtti_target_type): Rename to ...
(value_rtti_indirect_type): ... here.
gdb/ChangeLog
gdb/c-valprint.c
gdb/eval.c
gdb/typeprint.c
gdb/valops.c
gdb/value.c
gdb/value.h