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:
parent
5e48769487
commit
8625f089bf
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue