From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30104 invoked by alias); 28 Nov 2006 17:09:13 -0000 Received: (qmail 9300 invoked by uid 22791); 28 Nov 2006 16:58:09 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 28 Nov 2006 16:58:03 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1Gp6HO-0005jE-GG; Tue, 28 Nov 2006 11:57:58 -0500 Date: Tue, 28 Nov 2006 17:09:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: Variable objects laziness Message-ID: <20061128165758.GB21834@nevyn.them.org> Mail-Followup-To: Vladimir Prus , gdb-patches@sources.redhat.com References: <200611141643.25053.vladimir@codesourcery.com> <20275.192.87.1.22.1163760030.squirrel@webmail.xs4all.nl> <200611171344.54155.vladimir@codesourcery.com> <20061117142230.GA29258@nevyn.them.org> <20061117181246.GB6133@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00321.txt.bz2 On Sat, Nov 18, 2006 at 12:48:05PM +0300, Vladimir Prus wrote: > Daniel Jacobowitz wrote: > > >> + rather value_contents, will take care of this. > >> + It might throw, but unlike var-update for -var-assign > >> + there's just one variable we're working it, so we don't > >> + need to catch the exception here. */ > > > > Wait, what? gdb_value_assign will never throw. value_contents > > might, but gdb_value_assign will catch it. > > Yep, confused gdb_value_assign with value_assign. > > Updated patch attached. I also attach the delta to the previous patch. This version is OK now (for HEAD only). Thanks for your patience. The frozen varobj patch had some further discussion; I'll have to get back to it, but I'm afraid not today. Poke me if I haven't done it in a few days, please. -- Daniel Jacobowitz CodeSourcery