Fix computation of the 'editable' attribute and
authorVladimir Prus <vladimir@codesourcery.com>
Wed, 24 Jan 2007 10:49:31 +0000 (10:49 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Wed, 24 Jan 2007 10:49:31 +0000 (10:49 +0000)
commit6e2a9270a0ea3be318f176ea87d84a323d2ed239
tree9522a06ed11072f25faf284a2db7a1a0e54eac50
parent56163ce1d3a08ade22d84d366dc9066df789914a
    Fix computation of the 'editable' attribute and
        value changeability for for references.
        * varobj.c (get_value_type): New function.
        (c_variable_editable): Use get_value_type.
        (varobj_value_is_changeable): Likewise.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cp.cc
gdb/testsuite/gdb.mi/mi-var-cp.exp
gdb/testsuite/lib/mi-support.exp
gdb/varobj.c