Fix handling of invalid memory accesses by the stub

svn path=/trunk/; revision=5765
This commit is contained in:
Gé van Geldorp 2003-08-22 18:46:40 +00:00
parent 1aa98eb415
commit a15a37fcab

View file

@ -1003,8 +1003,7 @@ KdEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
{ {
GspAccessLocation = NULL; GspAccessLocation = NULL;
GspMemoryError = TRUE; GspMemoryError = TRUE;
TrapFrame->Eip += 2; Context->Eip += 2;
ExceptionRecord->ExceptionFlags &= ~EXCEPTION_NONCONTINUABLE;
} }
else else
{ {
@ -1255,7 +1254,7 @@ GspSetSingleRegisterInTrapFrame (ptr, Register, Context, TrapFrame);
} }
} }
return kdDoNotHandleException; return kdHandleException;
} }