From f44771e5c682f0f63409e64cb5eba4fa1bd04cfd Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 30 Sep 2025 23:12:56 +0200 Subject: [PATCH] debug print added again to runmem2 --- src/runner/runmem2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runner/runmem2.c b/src/runner/runmem2.c index de1398b..130121b 100644 --- a/src/runner/runmem2.c +++ b/src/runner/runmem2.c @@ -119,8 +119,8 @@ int parse_commands(uint8_t *bytes){ reloc_type = *(uint32_t*)bytes; bytes += 4; value = *(int32_t*)bytes; bytes += 4; data_offs = (int32_t)(data_memory - executable_memory); - //printf("PATCH_OBJECT patch_offs=%i reloc_type=%i value=%i data_offs=%i\n", - // offs, reloc_type, value, data_offs); + printf("PATCH_OBJECT patch_offs=%i reloc_type=%i value=%i data_offs=%i\n", + offs, reloc_type, value, data_offs); if (abs(data_offs) > 0x7FFFFFFF) { perror("code and data memory to far apart"); return EXIT_FAILURE;