Simplify access to variours properties of child
authorVladimir Prus <vladimir@codesourcery.com>
Thu, 4 Jan 2007 19:27:50 +0000 (19:27 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Thu, 4 Jan 2007 19:27:50 +0000 (19:27 +0000)
commitbbec2603e4954b1ced96e37b7bbdbc306cbea449
treeb7fa67ab566ee3ab8fff2e0cbb08fb4d480ef737
parent28335dccfbff6c93d66e0f307ad2218b2b543b89
    Simplify access to variours properties of child
        variable objects in C.
        * varobj.c (value_struct_element_index): New function.
        (c_describe_child): New function.
        (c_name_of_child, c_value_of_child)
        (c_type_of_child): Rewrite to use c_describe_child.
gdb/ChangeLog
gdb/varobj.c