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: Tom Tromey <tromey 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:13:27 +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> <20140513192228 dot GC26575 at blade dot nx> <8738gdh3og dot fsf at fleche dot redhat dot com>
Tom Tromey wrote:
> Florian> More worrisome would be the occasional demangling as part
> Florian> of other tasks, where the context switches might become
> Florian> very visible.
>
> Gary> It probably is bulk, though I don't know for sure. You could
> Gary> probably rearrange GDB to demangle a whole object file or CU's
> Gary> symbols at once.
>
> It could perhaps be done but I think it would be non-trivial.
> Usually in gdb whatever is calling the demangler intends to use
> the result right away.
Yeah, it wouldn't be trivial, but it's probably doable.
Cheers,
Gary
--
http://gbenson.net/