gdb/doc/ChangeLog:
authorAnton Gorenkov <xgsa@sourceware.org>
Sat, 14 Apr 2012 12:18:50 +0000 (12:18 +0000)
committerAnton Gorenkov <xgsa@sourceware.org>
Sat, 14 Apr 2012 12:18:50 +0000 (12:18 +0000)
commit8264ba82b71a186e10fddc298c5eb6e68742a94a
tree6a127bac3d88db9846b9b2db0a98a21fd31b7f0c
parent5f18041e78f879768645b113054261313517234a
gdb/doc/ChangeLog:

2012-04-14  Anton Gorenkov <xgsa@yandex.ru>

PR mi/13393
* gdb.texinfo (Print Settings): Extend the description for "set print
object".
(GDB/MI Variable Objects): Extend the description for -var-create and
-var-list-children.

gdb/testsuite/ChangeLog:

2012-04-14  Anton Gorenkov <xgsa@yandex.ru>

PR mi/13393
* gdb.mi/mi-var-rtti.cc: New file.
* gdb.mi/mi-var-rtti.exp: New file.
* lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
function.
(mi_varobj_update_with_type_change): updated to avoid code duplication.

gdb/ChangeLog:

2012-04-14  Anton Gorenkov <xgsa@yandex.ru>

PR mi/13393
* value.c (value_actual_type): New function.
* value.h (value_actual_type): New declaration.
* varobj.c (update_type_if_necessary): New function.
(varobj_create): Call value_actual_type instead of
value_type.
(install_dynamic_child): distinct changed and type changed MI variable
objects.
(update_dynamic_varobj_children): Updated for install_dynamic_child
change.  All callers updated.
(varobj_update): Support for MI variable object type change if
the value changed and RTTI is used to determine the type.
(create_child_with_value): Call value_actual_type instead of
value_type.
(adjust_value_for_child_access): Extended with a new parameter which
specify whether the given value should be casted to enclosing type.
All callers updated.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-rtti.cc [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-var-rtti.exp [new file with mode: 0644]
gdb/testsuite/lib/mi-support.exp
gdb/value.c
gdb/value.h
gdb/varobj.c