From 85db6177976d85f7216913d637ccecf65223da49 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 29 Dec 2024 19:13:26 +0100 Subject: [PATCH] GDB Stub: Use HLE::OS::ProcessPrinter for formatting fmt 11 requires it. --- source/gdb_stub.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; }