From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23962 invoked by alias); 22 Nov 2006 02:30:28 -0000 Received: (qmail 23954 invoked by uid 22791); 22 Nov 2006 02:30:26 -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; Wed, 22 Nov 2006 02:30:21 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GmhsR-0003m3-QI for gdb-patches@sourceware.org; Tue, 21 Nov 2006 21:30:19 -0500 Date: Wed, 22 Nov 2006 02:30:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFA][1/5] New port: Cell BE SPU (dwarf2loc.c fix) Message-ID: <20061122023019.GA14488@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <200611152157.kAFLv4Ab003607@d12av02.megacenter.de.ibm.com> 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/msg00240.txt.bz2 On Tue, Nov 21, 2006 at 05:43:05PM -0800, Jim Blandy wrote: > It seems a shame to be creating a value and then throwing it away, but > the composition of those two functions has the semantics we want, so I > don't see a good alternative without some more restructuring. Actually, I think we should be doing it more often. It doesn't live long, there's a clearly defined mechanism for throwing it away, and it encapsulates that the object should have target semantics. Eventually, if we ever get around to disallowing math on CORE_ADDR, I think this is what we'll end up with. -- Daniel Jacobowitz CodeSourcery