This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Exception object access
- From: Piotr Wyderski <piotr dot wyderski at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 11 Jan 2010 14:50:18 +0100
- Subject: Exception object access
Hello,
Is the a way to get access to the currently thrown
C++ exception object? cxxabi.h gives me only access
to its std::type_info via __cxa_current_exception_type().
On the other hand, the ABI documentation describes
the struct __cxa_exception, but it is not accessible
via cxxabi.h. Additionally, the function __cxa_get_globals()
seems not to be is not exported by the runtime.
Best regards
Piotr Wyderski