Fix 'selected frame' varobjs.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 16 Jan 2007 02:12:49 +0000 (02:12 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 16 Jan 2007 02:12:49 +0000 (02:12 +0000)
commitb20d8971adc2a4b07c6d777716948da8e902c379
tree10d0a139c3091e625eafd7806502ab564bbdfab9
parent562cca1e7b86cb3a74d34ba2aa7af11a1f7c627a
Fix 'selected frame' varobjs.
        * varobj.c (struct varobj): Remove the error field.
        (varobj_set_value): Don't check var->error.
        (install_new_value): Don't set var->error.
        (varobj_update): Always pass the new value
        of the root via install_new_value.
        (create_child): Don't set error field.
        (new_variable): Likewise.
        (c_value_of_root): Always reevaluate the value
        of selected frame varobjs in the selected frame.
        Don't call reinit_frame_cache.
gdb/ChangeLog
gdb/varobj.c