From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7855 invoked by alias); 4 Dec 2006 19:27:52 -0000 Received: (qmail 7846 invoked by uid 22791); 4 Dec 2006 19:27:51 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Dec 2006 19:27:44 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GrJTO-0004oY-79 for gdb-patches@sources.redhat.com; Mon, 04 Dec 2006 20:27:31 +0100 Received: from 73-198.umostel.ru ([82.179.73.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 20:27:30 +0100 Received: from ghost by 73-198.umostel.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 20:27:30 +0100 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: Variable objects laziness Date: Mon, 04 Dec 2006 19:27:00 -0000 Message-ID: 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> <20061128165758.GB21834@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.2 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-12/txt/msg00024.txt.bz2 Daniel Jacobowitz wrote: > 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. *POKE*. - Volodya