mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Display kernelmode source file:line in KeRosDumpStackFrames() too if KDBG is enabled.
svn path=/trunk/; revision=30817
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user