From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2645 invoked by alias); 7 Oct 2002 23:19:12 -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 2638 invoked from network); 7 Oct 2002 23:19:11 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 7 Oct 2002 23:19:11 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g97NJAh21700; Mon, 7 Oct 2002 16:19:10 -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> <20021002180515.GA8880@nevyn.them.org> From: David Carlton Date: Mon, 07 Oct 2002 16:19:00 -0000 In-Reply-To: <20021002180515.GA8880@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/msg00179.txt.bz2 On Wed, 2 Oct 2002 14:05:15 -0400, Daniel Jacobowitz said: > Right now, there are multiple functions with the same symbol > demangled name, but different mangled names. Just out of curiosity, what are the current situations that you know of where that can happen? I just noticed today that unnamed namespaces in different files can demangle to the same name, which sure doesn't thrill me; I'm curious about where else demangling is losing important info. Though I don't _really_ mind it all that much in the namespace situation: as far as I'm concerned, it's just further evidence that namespaces should be treated as first-class objects instead of being hacked at via names of symbols. Still, I wouldn't mind if the approach via names of symbols worked a _bit_ better than it actually will... David Carlton carlton@math.stanford.edu