From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7355 invoked by alias); 13 May 2014 19:16:10 -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 7339 invoked by uid 89); 13 May 2014 19:16:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 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; Tue, 13 May 2014 19:16:07 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4DJG3Zr004406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 May 2014 15:16:03 -0400 Received: from blade.nx (ovpn-116-68.ams2.redhat.com [10.36.116.68]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4DJG0tM009475; Tue, 13 May 2014 15:16:02 -0400 Received: by blade.nx (Postfix, from userid 1000) id 7C98026234A; Tue, 13 May 2014 20:16:00 +0100 (BST) Date: Tue, 13 May 2014 19:16: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: <20140513191600.GB26575@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53726791.5080300@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00171.txt.bz2 Pedro Alves wrote: > On 05/13/14 19:22, Florian Weimer wrote: > > I suppose I could run the demangler on all symbols in Fedora and > > downstream and see what breaks. Would that help? > > That'd be interesting. Yes, very much so. > 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. > Perhaps we could also have the list of symbols accessible somewhere, > so that anyone could try it without having to build/install the > world? Ah, yes, it'd be great to have an install-the-world symbols list somewhere to try things with. Cheers, Gary -- http://gbenson.net/