Do not set EH_NONCONTINUABLE.
This commit is contained in:
parent
55bcda875b
commit
f53d7b3cbd
|
@ -327,7 +327,7 @@ void WINAPI REGS_FUNC(DebugBreak)( CONTEXT *context )
|
||||||
EXCEPTION_RECORD rec;
|
EXCEPTION_RECORD rec;
|
||||||
|
|
||||||
rec.ExceptionCode = EXCEPTION_BREAKPOINT;
|
rec.ExceptionCode = EXCEPTION_BREAKPOINT;
|
||||||
rec.ExceptionFlags = EH_NONCONTINUABLE;
|
rec.ExceptionFlags = 0;
|
||||||
rec.ExceptionRecord = NULL;
|
rec.ExceptionRecord = NULL;
|
||||||
rec.NumberParameters = 0;
|
rec.NumberParameters = 0;
|
||||||
REGS_FUNC(RtlRaiseException)( &rec, context );
|
REGS_FUNC(RtlRaiseException)( &rec, context );
|
||||||
|
@ -440,7 +440,7 @@ static HANDLER_DEF(EXC_segv)
|
||||||
|
|
||||||
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
||||||
rec.ExceptionRecord = NULL;
|
rec.ExceptionRecord = NULL;
|
||||||
rec.ExceptionFlags = EH_NONCONTINUABLE;
|
rec.ExceptionFlags = 0;
|
||||||
rec.ExceptionAddress = GET_IP(&context);
|
rec.ExceptionAddress = GET_IP(&context);
|
||||||
rec.NumberParameters = 0;
|
rec.NumberParameters = 0;
|
||||||
|
|
||||||
|
@ -650,7 +650,7 @@ static HANDLER_DEF(EXC_fpe)
|
||||||
#endif /* TRAP_sig */
|
#endif /* TRAP_sig */
|
||||||
|
|
||||||
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
||||||
rec.ExceptionFlags = EH_NONCONTINUABLE;
|
rec.ExceptionFlags = 0;
|
||||||
rec.ExceptionRecord = NULL;
|
rec.ExceptionRecord = NULL;
|
||||||
rec.ExceptionAddress = GET_IP(&context);
|
rec.ExceptionAddress = GET_IP(&context);
|
||||||
rec.NumberParameters = 0;
|
rec.NumberParameters = 0;
|
||||||
|
@ -674,7 +674,7 @@ static HANDLER_DEF(EXC_int)
|
||||||
|
|
||||||
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
EXC_SaveContext( &context, HANDLER_CONTEXT );
|
||||||
rec.ExceptionCode = CONTROL_C_EXIT;
|
rec.ExceptionCode = CONTROL_C_EXIT;
|
||||||
rec.ExceptionFlags = EH_NONCONTINUABLE;
|
rec.ExceptionFlags = 0;
|
||||||
rec.ExceptionRecord = NULL;
|
rec.ExceptionRecord = NULL;
|
||||||
rec.ExceptionAddress = GET_IP(&context);
|
rec.ExceptionAddress = GET_IP(&context);
|
||||||
rec.NumberParameters = 0;
|
rec.NumberParameters = 0;
|
||||||
|
|
Loading…
Reference in New Issue