-var-update using formatted value
Nick Roberts
nickrob@snap.net.nz
Sun Feb 3 22:21:00 GMT 2008
Daniel Jacobowitz writes:
> 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.
Vladimir,
Can you please commit this change?
TIA
--
Nick http://www.inet.net.nz/~nickrob
More information about the Gdb
mailing list