Fix 'selected frame' varobjs
Daniel Jacobowitz
drow@false.org
Tue Jan 9 21:45:00 GMT 2007
On Wed, Jan 10, 2007 at 12:20:55AM +0300, Vladimir Prus wrote:
> What about the attached?
>
> - Volodya
>
> 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
> Vladimir Prus <vladimir@codesourcery.com>
>
> 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.
Looks good to me - this is OK.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list