mirror of
https://github.com/reactos/reactos.git
synced 2024-10-27 16:46:55 +00:00
[KDBG]
- Make backtrace addresses also print correctly. svn path=/branches/ros-amd64-bringup/; revision=45117
This commit is contained in:
parent
6e80066aad
commit
4411501d4e
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue