diff --git a/source/gdb_stub.cpp b/source/gdb_stub.cpp index 783aab5..bd6104b 100644 --- a/source/gdb_stub.cpp +++ b/source/gdb_stub.cpp @@ -800,8 +800,9 @@ std::optional GDBStub::HandlePacket(const std::string& command) { auto emu_process = std::dynamic_pointer_cast(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"; }