[KDBG] Don't bring down the kernel either when int2c-ing from user mode

svn path=/trunk/; revision=69210
This commit is contained in:
Stefan Ginsberg 2015-09-12 22:01:10 +00:00
parent 2c81e1e2b1
commit 427c11919f

View 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 :( */