This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RE: -var-update using formatted value
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: Nick Roberts <nickrob at snap dot net dot nz>, gdb at sources dot redhat dot com
- Date: Mon, 04 Feb 2008 09:15:36 +0300
- Subject: Re: RE: -var-update using formatted value
- References: <fmius3$rv6$1@ger.gmane.org> <18342.15945.139454.518146@kahikatea.snap.net.nz>
Nick Roberts wrote:
> 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?
Nick,
the change is now in.
Thanks,
Volodya