[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Sat, 5 Jun 2010 17:51:12 +0000 (17:51 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 5 Jun 2010 17:51:12 +0000 (17:51 +0000)
- Print the base address of the process that we killed to make debugging much easier

svn path=/trunk/; revision=47593

reactos/ntoskrnl/ke/i386/exp.c

index 38dded7..ebc327f 100644 (file)
@@ -1082,10 +1082,11 @@ DispatchToUser:
         }
 
         /* 3rd strike, kill the process */
-        DPRINT1("Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx\n",
+        DPRINT1("Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx, BaseAddress: %lx\n",
                 PsGetCurrentProcess()->ImageFileName,
                 ExceptionRecord->ExceptionCode,
-                ExceptionRecord->ExceptionAddress);
+                ExceptionRecord->ExceptionAddress,
+                PsGetCurrentProcess()->SectionBaseAddress);
 
         ZwTerminateProcess(NtCurrentProcess(), ExceptionRecord->ExceptionCode);
         KeBugCheckEx(KMODE_EXCEPTION_NOT_HANDLED,