From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8893 invoked by alias); 15 Dec 2003 23:20:46 -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 8848 invoked from network); 15 Dec 2003 23:20:39 -0000 Received: from unknown (HELO yosemite.airs.com) (209.128.65.135) by sources.redhat.com with SMTP; 15 Dec 2003 23:20:39 -0000 Received: (qmail 23189 invoked by uid 10); 15 Dec 2003 23:20:35 -0000 Received: (qmail 24993 invoked by uid 500); 15 Dec 2003 23:20:31 -0000 From: Ian Lance Taylor To: David Carlton Cc: gdb Subject: Re: new demangler References: <20031215225452.GA23169@nevyn.them.org> Date: Mon, 15 Dec 2003 23:20:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-12/txt/msg00223.txt.bz2 David Carlton writes: > So is there a problem with the way class_name_from_physname invokes > the demangler? It does this: > > char *demangled_name = cplus_demangle (physname, DMGL_ANSI); > > Compared to other places in GDB where the demangler is called, this is > unusual since DMGL_PARAMS isn't passed in as well, but I don't see why > that would cause the demangling to fail completely. Well, in fact, there was a bug in the case where DMGL_PARAMS was not set. I just checked in a patch for it. Sorry about that. I've had the patch for a while, but I haven't had a chance to check it in. Ian