1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00:00

Debugger: Replace printf() with outln()

This commit is contained in:
Linus Groh 2021-05-30 19:22:54 +01:00
parent 5e48769487
commit 8625f089bf

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;
}