GDB Stub: Use HLE::OS::ProcessPrinter for formatting

fmt 11 requires it.
This commit is contained in:
Emmanuel Gil Peyrot 2024-12-29 19:13:26 +01:00
parent d0550d56cb
commit 85db617797

View file

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