From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9678 invoked by alias); 4 Dec 2001 16:58:50 -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 9616 invoked from network); 4 Dec 2001 16:58:48 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 4 Dec 2001 16:58:48 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16BIue-0002Fp-00; Tue, 04 Dec 2001 11:59:20 -0500 Date: Tue, 04 Dec 2001 08:58:00 -0000 From: Daniel Jacobowitz To: Jason Merrill Cc: Michael Elizabeth Chastain , gdb-patches@sources.redhat.com, gcc@gcc.gnu.org Subject: Re: [RFA/stabs reader] Fix v3 duplicate constructors problem Message-ID: <20011204115920.A8635@nevyn.them.org> Mail-Followup-To: Jason Merrill , Michael Elizabeth Chastain , gdb-patches@sources.redhat.com, gcc@gcc.gnu.org References: <200112040909.DAA30310@duracef.shout.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00102.txt.bz2 On Tue, Dec 04, 2001 at 01:26:47PM +0000, Jason Merrill wrote: > >>>>> "Michael" == Michael Elizabeth Chastain writes: > > > I would like gdb to demangle different names differently. > > Which brings me to a question: Why don't we demangle them differently? > Currently, flag_verbose in cp-demangle.c defaults to 0, so the two > functions are demangled identically. I think this is wrong, and have > changed flag_verbose to 1 for my own use. What do other people think? Strongly agree. I was boggled to find two names for obviously different constructors that were demangled to the same thing; after figuring out what all the different variants were, of course, it made sense - but it violates least surprise quite badly. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer