- Make backtrace addresses also print correctly.

svn path=/branches/ros-amd64-bringup/; revision=45117
This commit is contained in:
Samuel Serapion 2010-01-17 08:02:52 +00:00
parent 6e80066aad
commit 4411501d4e

View file

@ -841,11 +841,15 @@ KdbpCmdBackTrace(
}
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");
}