diff options
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index e9e8778c2..fac65bf01 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -556,6 +556,14 @@ rtl_unwind (exception_list *frame, PEXCEPTION_RECORD e) bool exception::handler_installed NO_COPY; int +exception::handle_while_being_debugged (LPEXCEPTION_POINTERS ep) +{ + if (being_debugged ()) + return handle (ep); + return EXCEPTION_CONTINUE_SEARCH; +} + +int exception::handle (LPEXCEPTION_POINTERS ep) #else #define CYG_EXC_CONTINUE_EXECUTION ExceptionContinueExecution |