branch update for HEAD-2003050101
[reactos.git] / ntoskrnl / ke / i386 / usertrap.c
index 19a300b..d8e7214 100644 (file)
@@ -144,6 +144,9 @@ KiUserTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
     }
   
 
+  Er.ExceptionFlags = (STATUS_SINGLE_STEP == (NTSTATUS) Er.ExceptionCode || STATUS_BREAKPOINT == (NTSTATUS) Er.ExceptionCode ?
+                       0 : EXCEPTION_NONCONTINUABLE);
+
   KiDispatchException(&Er, 0, Tf, UserMode, TRUE);
   return(0);
 }