From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27131 invoked by alias); 17 Feb 2004 09:59:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27118 invoked from network); 17 Feb 2004 09:58:57 -0000 Received: from unknown (HELO otisco.McKusick.COM) (209.31.233.190) by sources.redhat.com with SMTP; 17 Feb 2004 09:58:57 -0000 Received: (from hilfingr@localhost) by otisco.McKusick.COM (8.11.6/8.11.6) id i1H9wMf04671; Tue, 17 Feb 2004 01:58:22 -0800 Date: Tue, 17 Feb 2004 09:59:00 -0000 Message-Id: <200402170958.i1H9wMf04671@otisco.McKusick.COM> From: "Paul N. Hilfinger" To: drow@false.org CC: gdb-patches@sources.redhat.com In-reply-to: <20040217000514.GA3563@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 16 Feb 2004 19:05:14 -0500) Subject: Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME Reply-to: Hilfinger@otisco.mckusick.com References: <20040216225743.GA1714@nevyn.them.org> <200402162335.i1GNZnGO011593@tully.CS.Berkeley.EDU> <20040217000514.GA3563@nevyn.them.org> X-SW-Source: 2004-02/txt/msg00461.txt.bz2 > Did you end up with basenames or with the equivalent of "short" > demangled names? Neither for now. At the moment, we still do the same old thing of simply keeping around the whole linkage name (well, WE don't; that's just standard GDB) and only demangling when needed. So I am just using the language-specific demangled name to cache the demangled name with a sufficiently long lifetime. This required keeping track of an appropriate obstack---hence my need for the same type-tag field you used. As I said when you first mentioned the scheme that you appear to be working on here, it sounds as if we'd be able to dispense with our current space-and-time-saving Ada-specific code and adapt your implementation instead. Hence, my interest. Paul Hilfinger