This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13588] catch throw and specific exceptions


http://sourceware.org/bugzilla/show_bug.cgi?id=13588

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-02-20 17:02:18 UTC ---
For "catch throw" it seems like we could get the needed
info relatively easily, by extracting the typeinfo argument
to __cxa_throw:

extern "C" void
__cxxabiv1::__cxa_throw (void *obj, std::type_info *tinfo,
             void (_GLIBCXX_CDTOR_CALLABI *dest) (void *))


It is less clear how to get this for "catch catch", though,
and this also doesn't handle re-throws.

Adding some SDT probes in libsupc++ would be simpler.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]