From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24576 invoked by alias); 22 Mar 2002 18:55: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 24531 invoked from network); 22 Mar 2002 18:55:03 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 22 Mar 2002 18:55:03 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16oUAM-0006df-00; Fri, 22 Mar 2002 13:53:30 -0500 Date: Fri, 22 Mar 2002 10:55:00 -0000 From: Daniel Jacobowitz To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Select a particular mangling of a demangled symbol in lookup_block_symbol Message-ID: <20020322135330.C24693@nevyn.them.org> Mail-Followup-To: Elena Zannoni , gdb-patches@sources.redhat.com References: <20020214185503.A28610@nevyn.them.org> <15511.47485.557533.258275@localhost.redhat.com> <15511.49122.884934.467080@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15511.49122.884934.467080@localhost.redhat.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-03/txt/msg00419.txt.bz2 On Tue, Mar 19, 2002 at 05:46:58PM -0500, Elena Zannoni wrote: > Replying to myself. I was testing with dwarf2, but using stabs I can > see it. I can also see that we call cplus_demangle (__3foor3foo, ...) > instead of cplus_demangle (__3fooR3foo, ...), if 'set case off'. But > it returns foo::foo(long double, foo) anyway. So it works? Absolutely not: drow@nevyn:~% c++filt __3fooR3foo foo::foo(foo &) __3foor3foo foo::foo(long double, foo) Those aren't the same function at all :) -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer