Debugger: Replace printf() with outln()

This commit is contained in:
Linus Groh 2021-05-30 19:22:54 +01:00
commit 8625f089bf
Notes: sideshowbarker 2024-07-18 17:06:27 +09:00

View file

@ -171,10 +171,10 @@ static bool handle_examine_command(const String& command)
u32 address = strtoul(argument.characters() + 2, nullptr, 16);
auto res = g_debug_session->peek((u32*)address);
if (!res.has_value()) {
printf("could not examine memory at address 0x%x\n", address);
outln("Could not examine memory at address {:p}", address);
return true;
}
printf("0x%x\n", res.value());
outln("{:#x}", res.value());
return true;
}