- Remove DbgPrint committed in FreeLDR by accident.

- Fix a hack in DbgLoadImageSymbols.

svn path=/trunk/; revision=25967
This commit is contained in:
Alex Ionescu
2007-03-03 05:44:58 +00:00
parent 523822a169
commit 27065dc629
2 changed files with 2 additions and 2 deletions
@@ -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);
+1 -1
View 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 */