mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Print the complete image name on a fault.
svn path=/trunk/; revision=15560
This commit is contained in:
parent
2ff428f5e5
commit
fcc81ed73f
1 changed files with 5 additions and 5 deletions
|
@ -245,7 +245,7 @@ KiDoubleFaultHandler(VOID)
|
||||||
if (PsGetCurrentProcess() != NULL)
|
if (PsGetCurrentProcess() != NULL)
|
||||||
{
|
{
|
||||||
DbgPrint("Pid: %x <", PsGetCurrentProcess()->UniqueProcessId);
|
DbgPrint("Pid: %x <", PsGetCurrentProcess()->UniqueProcessId);
|
||||||
DbgPrint("%.8s> ", PsGetCurrentProcess()->ImageFileName);
|
DbgPrint("%.16s> ", PsGetCurrentProcess()->ImageFileName);
|
||||||
}
|
}
|
||||||
if (PsGetCurrentThread() != NULL)
|
if (PsGetCurrentThread() != NULL)
|
||||||
{
|
{
|
||||||
|
@ -258,7 +258,7 @@ KiDoubleFaultHandler(VOID)
|
||||||
OldTss->Fs, OldTss->Gs);
|
OldTss->Fs, OldTss->Gs);
|
||||||
DbgPrint("EAX: %.8x EBX: %.8x ECX: %.8x\n", OldTss->Eax, OldTss->Ebx,
|
DbgPrint("EAX: %.8x EBX: %.8x ECX: %.8x\n", OldTss->Eax, OldTss->Ebx,
|
||||||
OldTss->Ecx);
|
OldTss->Ecx);
|
||||||
DbgPrint("EDX: %.8x EBP: %.8x ESI: %.8x\n ESP: %.8x", OldTss->Edx,
|
DbgPrint("EDX: %.8x EBP: %.8x ESI: %.8x\nESP: %.8x ", OldTss->Edx,
|
||||||
OldTss->Ebp, OldTss->Esi, Esp0);
|
OldTss->Ebp, OldTss->Esi, Esp0);
|
||||||
DbgPrint("EDI: %.8x EFLAGS: %.8x ", OldTss->Edi, OldTss->Eflags);
|
DbgPrint("EDI: %.8x EFLAGS: %.8x ", OldTss->Edi, OldTss->Eflags);
|
||||||
if (OldTss->Cs == KERNEL_CS)
|
if (OldTss->Cs == KERNEL_CS)
|
||||||
|
@ -420,7 +420,7 @@ KiDumpTrapFrame(PKTRAP_FRAME Tf, ULONG Parameter1, ULONG Parameter2)
|
||||||
if (PsGetCurrentProcess() != NULL)
|
if (PsGetCurrentProcess() != NULL)
|
||||||
{
|
{
|
||||||
DbgPrint("Pid: %x <", PsGetCurrentProcess()->UniqueProcessId);
|
DbgPrint("Pid: %x <", PsGetCurrentProcess()->UniqueProcessId);
|
||||||
DbgPrint("%.8s> ", PsGetCurrentProcess()->ImageFileName);
|
DbgPrint("%.16s> ", PsGetCurrentProcess()->ImageFileName);
|
||||||
}
|
}
|
||||||
if (PsGetCurrentThread() != NULL)
|
if (PsGetCurrentThread() != NULL)
|
||||||
{
|
{
|
||||||
|
@ -504,8 +504,8 @@ KiTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr)
|
||||||
if (PsGetCurrentThread() != NULL &&
|
if (PsGetCurrentThread() != NULL &&
|
||||||
Esp0 < (ULONG)PsGetCurrentThread()->Tcb.StackLimit)
|
Esp0 < (ULONG)PsGetCurrentThread()->Tcb.StackLimit)
|
||||||
{
|
{
|
||||||
DPRINT1("Stack underflow (tf->esp %x Limit %x)\n",
|
DPRINT1("Stack underflow (tf->esp %x Limit %x Eip %x)\n",
|
||||||
Esp0, (ULONG)PsGetCurrentThread()->Tcb.StackLimit);
|
Esp0, (ULONG)PsGetCurrentThread()->Tcb.StackLimit, Tf->Eip);
|
||||||
ExceptionNr = 12;
|
ExceptionNr = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue