Update debug messages

This commit is contained in:
EnderIce2 2024-03-20 03:27:28 +02:00
parent 4293d2a9ac
commit 45da53c843
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -177,7 +177,7 @@ namespace Execute
vAddr, pAddr, ProgramHeader.p_memsz); vAddr, pAddr, ProgramHeader.p_memsz);
debug("Segment Offset is %#lx", SegDestOffset); debug("Segment Offset is %#lx", SegDestOffset);
debug("Copying segment to p: %#lx-%#lx; v: %#lx-%#lx (%ld file bytes, %ld mem bytes)", debug("Copying PT_LOAD to p: %#lx-%#lx; v: %#lx-%#lx (%ld file bytes, %ld mem bytes)",
uintptr_t(pAddr) + SegDestOffset, uintptr_t(pAddr) + SegDestOffset,
uintptr_t(pAddr) + SegDestOffset + ProgramHeader.p_memsz, uintptr_t(pAddr) + SegDestOffset + ProgramHeader.p_memsz,
ProgramHeader.p_vaddr, ProgramHeader.p_vaddr,
@ -428,7 +428,7 @@ namespace Execute
if (ProgramHeader.p_memsz == 0) if (ProgramHeader.p_memsz == 0)
continue; continue;
debug("Copying PT_LOAD to %#lx-%#lx (%ld file bytes, %ld mem bytes)", debug("Copying PT_LOAD to %#lx-%#lx (%ld file bytes, %ld mem bytes)",
SegmentDestination, SegmentDestination + ProgramHeader.p_memsz, SegmentDestination, SegmentDestination + ProgramHeader.p_memsz,
ProgramHeader.p_filesz, ProgramHeader.p_memsz); ProgramHeader.p_filesz, ProgramHeader.p_memsz);