From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3213 invoked by alias); 20 Feb 2004 09:32:07 -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 3127 invoked from network); 20 Feb 2004 09:32:02 -0000 Received: from unknown (HELO otisco.McKusick.COM) (209.31.233.190) by sources.redhat.com with SMTP; 20 Feb 2004 09:32:02 -0000 Received: (from hilfingr@localhost) by otisco.McKusick.COM (8.11.6/8.11.6) id i1K9VtG27466; Fri, 20 Feb 2004 01:31:55 -0800 Date: Fri, 20 Feb 2004 09:32:00 -0000 Message-Id: <200402200931.i1K9VtG27466@otisco.McKusick.COM> From: "Paul N. Hilfinger" To: carlton@kealia.com CC: gdb-patches@sources.redhat.com In-reply-to: (message from David Carlton on Wed, 18 Feb 2004 08:45:32 -0800) Subject: Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME Reply-to: Hilfinger@otisco.mckusick.com References: <200402180049.i1I0n4HR018124@tully.CS.Berkeley.EDU> <200402180811.i1I8BnC11365@otisco.McKusick.COM> X-SW-Source: 2004-02/txt/msg00554.txt.bz2 David, > I was actually having similar thoughts on the way into work this > morning. Maybe what I should focus on first is trying to establish > the notion that, when calling lookup_symbol, the name you pass in > always has to be in the appropriate form: in particular, lookup_symbol > would never try to demangle a name on the fly. In the non-Ada world, > that would mean that we always search by natural name; but it would > pave the way for you to introduce your SYMBOL_SEARCH_NAME concept. > That way, SYMBOL_SEARCH_NAME would have a clear meaning (even if > nothing else would :-) ): it would be the name that you pass to > lookup_symbol when trying to search for that symbol. > > Does that make sense to you? If so, I'll start generating appropriate > patches. It does; that certainly is the notion we currently adhere to with our version of lookup_symbol, and also applies to C/C++. Paul Hilfinger P.S. Sorry for the delay: site visit approaching.