From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20086 invoked by alias); 4 Dec 2001 15:40:20 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 19970 invoked from network); 4 Dec 2001 15:40:19 -0000 Received: from unknown (HELO www.cgsoftware.com) (208.155.65.221) by sources.redhat.com with SMTP; 4 Dec 2001 15:40:19 -0000 Received: from localhost (localhost [127.0.0.1]) by www.cgsoftware.com (8.9.3/8.9.3) with ESMTP id KAA06053; Tue, 4 Dec 2001 10:40:15 -0500 Date: Tue, 04 Dec 2001 07:40:00 -0000 From: Daniel Berlin To: Jason Merrill cc: Michael Elizabeth Chastain , , Subject: Re: [RFA/stabs reader] Fix v3 duplicate constructors problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00122.txt.bz2 On Tue, 4 Dec 2001, 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? IIRC, the reason was that ptype output should be directly usable in the target language. We had a large discussion about this sometime in the past year, i can't quite remember the outcome. I had a patch to gdb/libiberty that passed DMGL_VERBOSE along (and added DMGL_VERBOSE to the flags) for this purpose. > > Jason >