This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RE: -var-update using formatted value
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb at sources dot redhat dot com
- Date: Mon, 4 Feb 2008 11:20:57 +1300
- Subject: Re: RE: -var-update using formatted value
- References: <fmius3$rv6$1@ger.gmane.org> <6D19CA8D71C89C43A057926FE0D4ADAA04290E35@ecamlmw720.eamcs.ericsson.se> <fmj58f$i78$1@ger.gmane.org> <20080129212033.GA17544@caradoc.them.org>
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