tinus <o112w8r02@sneakemail.com>

Change the backtrace command to show current EIP too.

svn path=/trunk/; revision=14864
This commit is contained in:
Filip Navara 2005-04-30 04:43:17 +00:00
parent 6985385b7d
commit eddbd1a4e3

View file

@ -569,6 +569,15 @@ KdbpCmdBackTrace(ULONG Argc, PCHAR Argv[])
return TRUE;
}
}
else
{
KdbpPrint("Eip:\n");
/* Try printing the function at EIP */
if (!KdbSymPrintAddress((PVOID)KdbCurrentTrapFrame->Tf.Eip))
KdbpPrint("<%08x>\n", KdbCurrentTrapFrame->Tf.Eip);
else
KdbpPrint("\n");
}
KdbpPrint("Frames:\n");
while (Frame != 0)