diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-01-24 11:08:47 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-01-24 11:08:47 +0000 |
commit | 2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b (patch) | |
tree | 2202807773cd78b31bdd5cfe5f3458e6dc2b4e6f /COPYING.NEWLIB | |
parent | 6e2a9270a0ea3be318f176ea87d84a323d2ed239 (diff) | |
download | gdb-2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b.zip gdb-2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b.tar.gz gdb-2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b.tar.bz2 |
Refactor getting children name, value and type access
for varobjs in C++.
* varobj.c (get_type_deref): Remove.
(adjust_value_for_child_access): New.
(c_number_of_children): Use the above.
(c_describe_child): Likewise.
(enum accessibility): New.
(match_accessibility): New function.
(cplus_describe_child): New function.
(cplus_name_of_child, cplus_value_of_child)
(cplus_type_of_child): Reimplement in terms
of cplus_describe_child.
(cplus_number_of_children): Use
adjust_value_for_child_access.
Diffstat (limited to 'COPYING.NEWLIB')
0 files changed, 0 insertions, 0 deletions