From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22734 invoked by alias); 2 Oct 2002 20:20:36 -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 22727 invoked from network); 2 Oct 2002 20:20:36 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 2 Oct 2002 20:20:36 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g92KKUk01711; Wed, 2 Oct 2002 13:20:30 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Daniel Jacobowitz Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFA: Search for symbol names the same way they're hashed. References: <200210020329.g923TE702388@zenia.red-bean.com> <20021002200203.GA4762@nevyn.them.org> From: David Carlton Date: Wed, 02 Oct 2002 13:20:00 -0000 In-Reply-To: <20021002200203.GA4762@nevyn.them.org> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00072.txt.bz2 On Wed, 2 Oct 2002 16:02:03 -0400, Daniel Jacobowitz said: > Dare I suggest SYMBOL_SEARCH_NAME? That is, the only name we should > search for when we're looking up this function in symbol tables. > Since that's the other use. That makes sense; the main thing that worries me is that I'm not sure that we might not sometimes search by other names (at least in the minimal symbol table?). I think that, if SYMBOL_SOURCE_NAME didn't already exist, then I'd prefer SYMBOL_SOURCE_NAME to SYMBOL_SEARCH_NAME; but there's probably some advantage to not having anything called SYMBOL_SOURCE_NAME. Hmm; I could go either way on this one. > I agree about SYMBOL_PRINT_NAME... or, how about > SYMBOL_PRINTABLE_NAME? SYMBOL_PRINT_NAME is better, I think: lots of names are printable, but we're only going to print one of them. (Though I like the idea of a function SYMBOL_PRINTABLE_NAME that takes an unprintable symbol name and bowdlerizes it by putting asterisks in place of swear words...) David Carlton carlton@math.stanford.edu