mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
tinus <o112w8r02@sneakemail.com>
Change the backtrace command to show current EIP too. svn path=/trunk/; revision=14864
This commit is contained in:
parent
6985385b7d
commit
eddbd1a4e3
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue