- Remove DbgPrint committed in FreeLDR by accident.
authorAlex Ionescu <aionescu@gmail.com>
Sat, 3 Mar 2007 05:44:58 +0000 (05:44 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 3 Mar 2007 05:44:58 +0000 (05:44 +0000)
- Fix a hack in DbgLoadImageSymbols.

svn path=/trunk/; revision=25967

reactos/boot/freeldr/freeldr/arch/i386/loader.c
reactos/lib/rtl/debug.c

index 69d7259..e126899 100644 (file)
@@ -628,7 +628,7 @@ FrLdrMapImage(IN FILE *Image,
     NextModuleBase = ROUND_UP(NextModuleBase + ImageSize, PAGE_SIZE);
 
     /* Successful load! */
-    DbgPrint("Image: %s loaded at: %p\n", Name, ImageBase);
+    //DbgPrint("Image: %s loaded at: %p\n", Name, ImageBase);
 
     /* Load HAL if this is the kernel */
     if (ImageType == 1) FrLdrLoadImage("hal.dll", 10, FALSE);
index c0f0173..60cf6b3 100644 (file)
@@ -324,7 +324,7 @@ DbgLoadImageSymbols(IN PANSI_STRING Name,
     SymbolInfo.ProcessId = (ULONG)ProcessId;
 
     /* Get NT Headers */
-    NtHeader = NULL; //RtlImageNtHeader(Base);
+    NtHeader = RtlImageNtHeader(Base);
     if (NtHeader)
     {
         /* Get the rest of the data */