Author: tfaber Date: Sat Aug 8 11:32:43 2015 New Revision: 68626
URL: http://svn.reactos.org/svn/reactos?rev=68626&view=rev Log: [NTDLL:LDR] - Enable relocation debug prints again. While it's not a critical error anymore when they happen it's still critical for debugging issues.
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?re... ============================================================================== --- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original) +++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Sat Aug 8 11:32:43 2015 @@ -1323,7 +1323,7 @@ ImageBase = (ULONG_PTR)NtHeaders->OptionalHeader.ImageBase; ImageEnd = ImageBase + ViewSize;
- DPRINT("LDR: LdrpMapDll Relocating Image Name %ws (%p -> %p)\n", DllName, (PVOID)ImageBase, ViewBase); + DPRINT1("LDR: LdrpMapDll Relocating Image Name %ws (%p-%p -> %p)\n", DllName, (PVOID)ImageBase, (PVOID)ImageEnd, ViewBase);
/* Scan all the modules */ ListHead = &Peb->Ldr->InLoadOrderModuleList; @@ -1362,7 +1362,7 @@ RtlInitUnicodeString(&OverlapDll, L"Dynamically Allocated Memory"); }
- DPRINT("Overlapping DLL: %wZ\n", &OverlapDll); + DPRINT1("Overlapping DLL: %wZ\n", &OverlapDll);
/* Are we dealing with a DLL? */ if (LdrEntry->Flags & LDRP_IMAGE_DLL) @@ -2545,7 +2545,7 @@ if (ShowSnaps) { DbgPrint("LDR: Unloading %wZ due to error %x walking " - "import descriptors", + "import descriptors\n", DllName, Status); }