From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6601 invoked by alias); 7 Oct 2002 23:38:59 -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 6592 invoked from network); 7 Oct 2002 23:38:58 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 7 Oct 2002 23:38:58 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17yiOU-0001MC-00; Mon, 07 Oct 2002 19:38:39 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17yhTJ-0003FT-00; Mon, 07 Oct 2002 19:39:33 -0400 Date: Mon, 07 Oct 2002 16:38:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFA: Search for symbol names the same way they're hashed. Message-ID: <20021007233933.GA12031@nevyn.them.org> Mail-Followup-To: David Carlton , Jim Blandy , gdb-patches@sources.redhat.com References: <200210020329.g923TE702388@zenia.red-bean.com> <20021002180515.GA8880@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-10/txt/msg00180.txt.bz2 On Mon, Oct 07, 2002 at 04:19:10PM -0700, David Carlton wrote: > 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 Well, that comment was about constructors: _ZN1AC1Eb A::A[in-charge](bool) _ZN1AC2Eb A::A[not-in-charge](bool) We strip off the [in-charge] bit because we don't have any use for it. > 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. We can't even use the demangled names of such things, anyway. We'll need to figure out what to do with them eventually... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer