tinus <o112w8r02@sneakemail.com> Change the backtrace command to show current EIP too.
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
--- trunk/reactos/ntoskrnl/kdbg/kdb_cli.c 2005-04-29 19:49:50 UTC (rev 14863) +++ trunk/reactos/ntoskrnl/kdbg/kdb_cli.c 2005-04-30 04:43:17 UTC (rev 14864) @@ -569,6 +569,15 @@
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)