* exception.h (exception::handle_while_being_debugged): Declare.
(exception::exception): Install unhandled exception filter. * exceptions.cc (exception::handle_while_being_debugged): New method.
This commit is contained in:
@ -555,6 +555,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
|
||||
|
Reference in New Issue
Block a user