[KDBG] Don't bring down the kernel either when int2c-ing from user mode
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 12 Sep 2015 22:01:10 +0000 (22:01 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 12 Sep 2015 22:01:10 +0000 (22:01 +0000)
svn path=/trunk/; revision=69210

reactos/ntoskrnl/kdbg/kdb.c

index 2ebf409..3da12cc 100644 (file)
@@ -1371,8 +1371,12 @@ KdbEnterDebuggerException(
     KdbCurrentProcess = PsGetCurrentProcess();
 
     /* Set continue type to kdContinue for single steps and breakpoints */
-    if (ExceptionCode == STATUS_SINGLE_STEP || ExceptionCode == STATUS_BREAKPOINT)
+    if (ExceptionCode == STATUS_SINGLE_STEP ||
+        ExceptionCode == STATUS_BREAKPOINT ||
+        ExceptionCode == STATUS_ASSERTION_FAILURE)
+    {
         ContinueType = kdContinue;
+    }
 
     /* Check if we should handle the exception. */
     /* FIXME - won't get all exceptions here :( */