Refactor getting children name, value and type access
authorVladimir Prus <vladimir@codesourcery.com>
Wed, 24 Jan 2007 11:08:47 +0000 (11:08 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Wed, 24 Jan 2007 11:08:47 +0000 (11:08 +0000)
commit2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b
tree2202807773cd78b31bdd5cfe5f3458e6dc2b4e6f
parent6e2a9270a0ea3be318f176ea87d84a323d2ed239
    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.
gdb/ChangeLog
gdb/varobj.c