mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
- Display kernelmode source file:line in KeRosDumpStackFrames() too if KDBG is enabled.
svn path=/trunk/; revision=30817
This commit is contained in:
parent
4223e8ab74
commit
ac0b79ca29
|
@ -263,9 +263,14 @@ KeRosDumpStackFrames(IN PULONG Frame OPTIONAL,
|
|||
/* Get the base for this file */
|
||||
if (KiPcToFileHeader((PVOID)Addr, &LdrEntry, FALSE, &InSystem))
|
||||
{
|
||||
/* Print out the module name */
|
||||
Addr -= (ULONG_PTR)LdrEntry->DllBase;
|
||||
DbgPrint("<%wZ: %x>", &LdrEntry->FullDllName, Addr);
|
||||
#ifdef KDBG
|
||||
if (!KdbSymPrintAddress((PVOID)Addr))
|
||||
#endif
|
||||
{
|
||||
/* Print out the module name */
|
||||
Addr -= (ULONG_PTR)LdrEntry->DllBase;
|
||||
DbgPrint("<%wZ: %x>", &LdrEntry->FullDllName, Addr);
|
||||
}
|
||||
}
|
||||
else if (Addr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue