This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

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


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