This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix 'selected frame' varobjs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]