Gdb support for exceptions (Re: using backtrace() in exception throwing?)

Stephan Bergmann sbergman at redhat.com
Mon Jun 3 07:50:38 PDT 2013


On 06/03/2013 04:36 PM, Tom Tromey wrote:
>>>>>> "Stephan" == Stephan Bergmann <sbergman at redhat.com> writes:
>
> Stephan> Great, thanks.  (So your idea would be to, in a second step, teach
> Stephan> ABRT to issue additional gdb commands besides "backtrace" in case the
> Stephan> trace contains __gnu_cxx::__verbose_terminate_handler, right?)
>
> If that GCC bug is fixed, then the existing "bt full" would capture the
> type information.  The info would appear in a mangled form, but it is
> trivial to run that through c++filt.

Ah, right; I'd failed to note how "bt full" also prints local vars, and 
how e.g. ABRT already uses that.

Stephan


More information about the LibreOffice mailing list