mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +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
1 changed files with 5 additions and 1 deletions
|
@ -841,11 +841,15 @@ KdbpCmdBackTrace(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef _M_AMD64
|
||||||
|
KdbpPrint("Rip:\n");
|
||||||
|
#else
|
||||||
KdbpPrint("Eip:\n");
|
KdbpPrint("Eip:\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Try printing the function at EIP */
|
/* Try printing the function at EIP */
|
||||||
if (!KdbSymPrintAddress((PVOID)KdbCurrentTrapFrame->Tf.Eip))
|
if (!KdbSymPrintAddress((PVOID)KdbCurrentTrapFrame->Tf.Eip))
|
||||||
KdbpPrint("<%x>\n", KdbCurrentTrapFrame->Tf.Eip);
|
KdbpPrint("<%p>\n", KdbCurrentTrapFrame->Tf.Eip);
|
||||||
else
|
else
|
||||||
KdbpPrint("\n");
|
KdbpPrint("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue