From fb92e1fc3df4181bf9006ca377e53470cba166a1 Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Thu, 7 Jun 2007 21:19:57 +0000 Subject: [PATCH] Improve debug message. svn path=/trunk/; revision=27063 --- reactos/ntoskrnl/ke/i386/exp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ke/i386/exp.c b/reactos/ntoskrnl/ke/i386/exp.c index a5cb9a2f804..fb55d606cd1 100644 --- a/reactos/ntoskrnl/ke/i386/exp.c +++ b/reactos/ntoskrnl/ke/i386/exp.c @@ -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,