Exception object access

Piotr Wyderski piotr.wyderski@gmail.com
Mon Jan 11 13:50:00 GMT 2010


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



More information about the Gcc mailing list