Author: ion
Date: Sat Mar 3 08:44:58 2007
New Revision: 25967
URL:
http://svn.reactos.org/svn/reactos?rev=25967&view=rev
Log:
- Remove DbgPrint committed in FreeLDR by accident.
- Fix a hack in DbgLoadImageSymbols.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c
trunk/reactos/lib/rtl/debug.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c Sat Mar 3 08:44:58 2007
@@ -628,7 +628,7 @@
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);
Modified: trunk/reactos/lib/rtl/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/debug.c?rev=25967&…
==============================================================================
--- trunk/reactos/lib/rtl/debug.c (original)
+++ trunk/reactos/lib/rtl/debug.c Sat Mar 3 08:44:58 2007
@@ -324,7 +324,7 @@
SymbolInfo.ProcessId = (ULONG)ProcessId;
/* Get NT Headers */
- NtHeader = NULL; //RtlImageNtHeader(Base);
+ NtHeader = RtlImageNtHeader(Base);
if (NtHeader)
{
/* Get the rest of the data */