mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Remove DbgPrint committed in FreeLDR by accident.
- Fix a hack in DbgLoadImageSymbols. svn path=/trunk/; revision=25967
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user