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: Tom Tromey <tromey at redhat dot com>
- To: Gary Benson <gbenson 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 13:35:59 -0600
- 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>
Florian> More worrisome would be the occasional demangling as part of
Florian> other tasks, where the context switches might become very
Florian> visible.
Gary> It probably is bulk, though I don't know for sure. You could probably
Gary> rearrange GDB to demangle a whole object file or CU's 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.
Tom