From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12233 invoked by alias); 3 Dec 2003 17:38:00 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12214 invoked from network); 3 Dec 2003 17:37:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 3 Dec 2003 17:37:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1ARawl-0001Er-Hh; Wed, 03 Dec 2003 12:37:55 -0500 Date: Wed, 03 Dec 2003 17:38:00 -0000 From: Daniel Jacobowitz To: Ian Lance Taylor Cc: Michael Elizabeth Chastain , ac131313@redhat.com, gdb@sources.redhat.com, wcohen@redhat.com Subject: Re: Slow handling of C++ symbol names Message-ID: <20031203173755.GA4506@nevyn.them.org> Mail-Followup-To: Ian Lance Taylor , Michael Elizabeth Chastain , ac131313@redhat.com, gdb@sources.redhat.com, wcohen@redhat.com References: <20031203164734.201124B35B@berman.michael-chastain.com> <20031203170823.GA9475@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: 2003-12/txt/msg00049.txt.bz2 On Wed, Dec 03, 2003 at 12:34:31PM -0500, Ian Lance Taylor wrote: > Daniel Jacobowitz writes: > > > GDB never does set DMGL_VERBOSE. Are you sure the old demangler > > wouldn't produce that without DMGL_VERBOSE? > > > > Maybe the old demangler had a test reversed. ISTR that c++filt passes > > DMGL_VERBOSE, and that generates std::string rather than > > std::basic_string for the above. > > Well, hmmm. The code looks right to me. When I run my copy of > c++filt built with the old demangler, I get the long string, as > expected. > > I note that DMGL_VERBOSE was only added on 2002-02-05, so if you're > using a c++filt from sources before that you will get the smaller > demangling. I'm using one from binutils as of a month or so ago, and I get the short string. Hmm. I don't know quite what's going on. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer