From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21565 invoked by alias); 16 Dec 2003 05:30:24 -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 21556 invoked from network); 16 Dec 2003 05:30:23 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 16 Dec 2003 05:30:23 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AW7mo-0007Mk-37; Tue, 16 Dec 2003 00:30:22 -0500 Date: Tue, 16 Dec 2003 05:30:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: gdb Subject: Re: new demangler Message-ID: <20031216053022.GA28127@nevyn.them.org> Mail-Followup-To: David Carlton , gdb References: <20031215225452.GA23169@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/msg00231.txt.bz2 On Mon, Dec 15, 2003 at 03:38:28PM -0800, David Carlton wrote: > On 15 Dec 2003 18:33:39 -0500, Ian Lance Taylor said: > > David Carlton writes: > >> On 15 Dec 2003 18:23:22 -0500, Ian Lance Taylor said: > > >>> Here's the patch. > > >> Thanks! Now, when I demangle that name with just DMGL_ANSI, I get > >> "C::CClass::operator=". Am I going crazy, or was there once '()' > >> stuck on the end of that? > > > Hmmm, I doubt there was ever '()' at the end. I would expect to see > > `(C::CClass const&)' at the end. > > Okay; I'll just stick in the DMGL_PARAMS for now, then - my tests > start passing again with that change. (Or I could rewrite the code > that parses the output to not look for parentheses, I suppose.) Do the former for now. When I can figure out a few more points of C++ grammar - it's taken me a *(!&#@ month so far and it's barely functional... - I'll have an efficient solution for breaking down names into the demangler's trees. This will let us get the information we want much more reliably. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer