This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/13588] catch throw and specific exceptions
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 20 Feb 2013 17:02:18 +0000
- Subject: [Bug c++/13588] catch throw and specific exceptions
- Auto-submitted: auto-generated
- References: <bug-13588-4717@http.sourceware.org/bugzilla/>
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.