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: Florian Weimer <fw at deneb dot enyo dot de>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Gary Benson <gbenson at redhat dot com>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org
- Date: Tue, 13 May 2014 21:20:02 +0200
- 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:
> 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.
>
> 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.
I did this with the ELF symbols in Fedora 20 and rawhide, but didn't
get any crashes. I haven't extracted DWARF symbols yet, so I can test
that immediately.
> Perhaps we could also have the list of symbols accessible
> somewhere, so that anyone could try it without having to
> build/install the world?
It's already in a PostgreSQL database. Send me a note if you want
access.