Author: sginsberg Date: Sat Sep 12 22:01:10 2015 New Revision: 69210
URL: http://svn.reactos.org/svn/reactos?rev=69210&view=rev Log: [KDBG] Don't bring down the kernel either when int2c-ing from user mode
Modified: trunk/reactos/ntoskrnl/kdbg/kdb.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb.c?rev=692... ============================================================================== --- trunk/reactos/ntoskrnl/kdbg/kdb.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/kdbg/kdb.c [iso-8859-1] Sat Sep 12 22:01:10 2015 @@ -1371,8 +1371,12 @@ 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 :( */