Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from a siginfo_t *

* external.cc (cygwin_internal): Add operation to retrieve a copy
	of the EXCEPTION_RECORD from a siginfo_t *.
	* include/sys/cygwin.h (cygwin_getinfo_types): Ditto.
	* exception.h (cygwin_exception): Add exception_record accessor.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY
2015-03-30 20:56:03 +01:00
parent abf6791ecb
commit 431b28c196
4 changed files with 26 additions and 1 deletions

View File

@ -175,4 +175,5 @@ public:
framep (in_framep), ctx (in_ctx), e (in_e), h (NULL) {}
void dumpstack ();
PCONTEXT context () const {return ctx;}
EXCEPTION_RECORD *exception_record () const {return e;}
};