From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5698 invoked by alias); 14 May 2014 09:11:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 5683 invoked by uid 89); 14 May 2014 09:11:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 May 2014 09:11:05 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4E9B1rG022216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 May 2014 05:11:01 -0400 Received: from blade.nx (ovpn-116-68.ams2.redhat.com [10.36.116.68]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4E9Ausf027323; Wed, 14 May 2014 05:10:59 -0400 Received: by blade.nx (Postfix, from userid 1000) id C7A8026234A; Wed, 14 May 2014 10:10:49 +0100 (BST) Date: Wed, 14 May 2014 09:11:00 -0000 From: Gary Benson To: Pedro Alves Cc: Florian Weimer , Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [PATCH 0/2] Demangler crash handler Message-ID: <20140514091049.GB4974@blade.nx> References: <20140509100656.GA4760@blade.nx> <201405091120.s49BKO1f010622@glazunov.sibelius.xs4all.nl> <87fvkhjqvs.fsf@mid.deneb.enyo.de> <20140513102223.GC17805@blade.nx> <87ppjhilni.fsf@mid.deneb.enyo.de> <53726791.5080300@redhat.com> <20140513191600.GB26575@blade.nx> <53727031.30402@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53727031.30402@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00193.txt.bz2 Pedro Alves wrote: > On 05/13/14 20:16, Gary Benson wrote: > > Pedro Alves wrote: > > > Or you could just pass that list through c++filt, the binutils > > > program, which also uses the same demangler. That might be > > > faster, though obviously won't catch gdb-specific bugs. > > > > c++filt would be enough to catch the crashes we've seen recently. > > It would be best to have c++filt built with the latest libiberty > > from GCC upstream, as two fixes have gone in recently. > > The fix should have been merged to the binutils-gdb repo too, then > it's just a matter of building binutils ToT. Ah, I didn't realise that's where c++filt came from. > Has it not been yet? We need to make sure that's done. One fix has been merged, the other hasn't been committed to GCC yet. I only just noticed the latter, but I've pinged it so hopefully it can go in today. That one's not so important though, it's a failure to demangle a symbol that's using a completely different mangling scheme. Cheers, Gary -- http://gbenson.net/