Author: sserapion
Date: Sun Jan 17 09:02:52 2010
New Revision: 45117
URL:
http://svn.reactos.org/svn/reactos?rev=45117&view=rev
Log:
[KDBG]
- Make backtrace addresses also print correctly.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/kdbg/kdb_cli.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/kdbg/kdb_cli.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] Sun Jan 17
09:02:52 2010
@@ -841,11 +841,15 @@
}
else
{
+#ifdef _M_AMD64
+ KdbpPrint("Rip:\n");
+#else
KdbpPrint("Eip:\n");
+#endif
/* Try printing the function at EIP */
if (!KdbSymPrintAddress((PVOID)KdbCurrentTrapFrame->Tf.Eip))
- KdbpPrint("<%x>\n", KdbCurrentTrapFrame->Tf.Eip);
+ KdbpPrint("<%p>\n", KdbCurrentTrapFrame->Tf.Eip);
else
KdbpPrint("\n");
}