From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21412 invoked by alias); 4 Feb 2008 06:15:59 -0000 Received: (qmail 21400 invoked by uid 22791); 4 Feb 2008 06:15:58 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Feb 2008 06:15:41 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1JLuc9-0006M2-4S for gdb@sources.redhat.com; Mon, 04 Feb 2008 09:15:38 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1JLubx-0006Lq-2N; Mon, 04 Feb 2008 09:15:21 +0300 From: Vladimir Prus Subject: Re: RE: -var-update using formatted value To: Nick Roberts , gdb@sources.redhat.com Date: Mon, 04 Feb 2008 06:15:00 -0000 References: <18342.15945.139454.518146@kahikatea.snap.net.nz> User-Agent: KNode/0.10.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00006.txt.bz2 Nick Roberts wrote: > Daniel Jacobowitz writes: > > On Tue, Jan 15, 2008 at 11:32:16PM +0300, Vladimir Prus wrote: > > > commit 67da794ce92c9af5fc9bc22721a942af27ade3d7 > > > Author: Vladimir Prus > > > 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