This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] Demangler crash handler
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Florian Weimer <fw at deneb dot enyo dot de>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org
- Date: Tue, 13 May 2014 20:16:00 +0100
- Subject: Re: [PATCH 0/2] Demangler crash handler
- Authentication-results: sourceware.org; auth=none
- References: <20140509100656 dot GA4760 at blade dot nx> <201405091120 dot s49BKO1f010622 at glazunov dot sibelius dot xs4all dot nl> <87fvkhjqvs dot fsf at mid dot deneb dot enyo dot de> <20140513102223 dot GC17805 at blade dot nx> <87ppjhilni dot fsf at mid dot deneb dot enyo dot de> <53726791 dot 5080300 at redhat dot com>
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/