[PATCH 3/3 v4] Demangler crash handler

Florian Weimer fw@deneb.enyo.de
Fri Jun 6 18:16:00 GMT 2014


* Gary Benson:

> +      sigaction (SIGSEGV, &sa, &old_sa);

> +      crash_signal = SIGSETJMP (gdb_demangle_jmp_buf);

> +      sigaction (SIGSEGV, &old_sa, NULL);

That's quite a bit of additional work for each demangler invocation.
Is this visible with things like tab completion?



More information about the Gdb-patches mailing list