mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-22 05:21:08 +01:00
GDB Stub: Use HLE::OS::ProcessPrinter for formatting
fmt 11 requires it.
This commit is contained in:
parent
d0550d56cb
commit
85db617797
1 changed files with 2 additions and 1 deletions
|
@ -800,8 +800,9 @@ std::optional<std::string> GDBStub::HandlePacket(const std::string& command) {
|
|||
|
||||
auto emu_process = std::dynamic_pointer_cast<HLE::OS::EmuProcess>(process);
|
||||
if (!emu_process) {
|
||||
auto process_printer = HLE::OS::ProcessPrinter { *process.get() };
|
||||
logger->warn("Debugger attempting to attach to non-emulated process {} ({})",
|
||||
pid_opt->first, process);
|
||||
pid_opt->first, process_printer);
|
||||
return "E02";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue