-var-update using formatted value

Daniel Jacobowitz drow@false.org
Tue Jan 29 21:20:00 GMT 2008


On Tue, Jan 15, 2008 at 11:32:16PM +0300, Vladimir Prus wrote:
> commit 67da794ce92c9af5fc9bc22721a942af27ade3d7
> Author: Vladimir Prus <vladimir@codesourcery.com>
> Date:   Tue Jan 15 23:29:36 2008 +0300
> 
>     Update stored value when format changes.
>     
>     	* varobj.c (varobj_set_display_format): Recomputed
>     	print_value.
>     	(c_value_of_variable): Return print_value.

This patch, with xstrdup instead of strdup, is OK.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list