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: Wed, 14 May 2014 10:10:49 +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> <20140513191600 dot GB26575 at blade dot nx> <53727031 dot 30402 at redhat dot com>
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/