This is the mail archive of the gdb@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: RE: -var-update using formatted value


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


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