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

Tom Tromey tromey at redhat.com
Mon Jun 3 07:36:20 PDT 2013


>>>>> "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.

Like in my example:

    t = 0x601060 <_ZTIi@@CXXABI_1.3>

    ->

    $ c++filt _ZTIi
    typeinfo for int

Tom


More information about the LibreOffice mailing list