Improve debug message.

svn path=/trunk/; revision=27063
This commit is contained in:
Dmitry Gorbachev 2007-06-07 21:19:57 +00:00
parent 48d33901ec
commit fb92e1fc3d

View file

@ -1017,7 +1017,11 @@ DispatchToUser:
}
/* 3rd strike, kill the process */
DPRINT1("Kill the process\n");
DPRINT1("Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx\n",
PsGetCurrentProcess()->ImageFileName,
ExceptionRecord->ExceptionCode,
ExceptionRecord->ExceptionAddress);
ZwTerminateProcess(NtCurrentProcess(), ExceptionRecord->ExceptionCode);
KeBugCheckEx(KMODE_EXCEPTION_NOT_HANDLED,
ExceptionRecord->ExceptionCode,