From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5172 invoked by alias); 22 Mar 2002 20:11:26 -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 5159 invoked from network); 22 Mar 2002 20:11:23 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 22 Mar 2002 20:11:23 -0000 Received: from localhost.redhat.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA29517; Fri, 22 Mar 2002 12:11:15 -0800 (PST) Received: by localhost.redhat.com (Postfix, from userid 469) id 8FE3F11429; Fri, 22 Mar 2002 15:11:01 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15515.36821.518905.440825@localhost.redhat.com> Date: Fri, 22 Mar 2002 12:11:00 -0000 To: Daniel Jacobowitz Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA] Select a particular mangling of a demangled symbol in lookup_block_symbol In-Reply-To: <20020322135330.C24693@nevyn.them.org> References: <20020214185503.A28610@nevyn.them.org> <15511.47485.557533.258275@localhost.redhat.com> <15511.49122.884934.467080@localhost.redhat.com> <20020322135330.C24693@nevyn.them.org> X-Mailer: VM 7.00 under Emacs 20.7.1 X-SW-Source: 2002-03/txt/msg00432.txt.bz2 Daniel Jacobowitz writes: > 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) > Ah, I didn't think twice when I saw it not core dumping! > Those aren't the same function at all :) > Indeed. Then I think we definitely should use the uppercase parameter. Elena > -- > Daniel Jacobowitz Carnegie Mellon University > MontaVista Software Debian GNU/Linux Developer