From 91dcc3f60c71143c524d96705f5be3827513a78e Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 9 Oct 2019 03:17:10 +0300 Subject: [PATCH] GDB Server: fix selecting ppu_thread --- rpcs3/Emu/GDB.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/GDB.cpp b/rpcs3/Emu/GDB.cpp index 981dc9c4a1..167962f66b 100644 --- a/rpcs3/Emu/GDB.cpp +++ b/rpcs3/Emu/GDB.cpp @@ -354,7 +354,8 @@ bool gdb_thread::select_thread(u64 id) { return (id == ALL_THREADS) || (id == ANY_THREAD) || (cpu.id == id); }; - if (auto ppu = idm::select(on_select)) { + if (auto ppu = idm::select>(on_select)) + { selected_thread = ppu.ptr; return true; } @@ -497,9 +498,8 @@ bool gdb_thread::cmd_thread_info(gdb_cmd& cmd) } result += u64_to_padded_hex(static_cast(cpu.id)); }; - idm::select(on_select); - //idm::select(on_select); - //idm::select(on_select); + idm::select>(on_select); + //idm::select>(on_select); //todo: this may exceed max command length result = "m" + result + "l";