mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
GDB Server: fix selecting ppu_thread
This commit is contained in:
parent
23bbeb7f8f
commit
91dcc3f60c
@ -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<ppu_thread>(on_select)) {
|
||||
if (auto ppu = idm::select<named_thread<ppu_thread>>(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<u64>(cpu.id));
|
||||
};
|
||||
idm::select<ppu_thread>(on_select);
|
||||
//idm::select<RawSPUThread>(on_select);
|
||||
//idm::select<SPUThread>(on_select);
|
||||
idm::select<named_thread<ppu_thread>>(on_select);
|
||||
//idm::select<named_thread<spu_thread>>(on_select);
|
||||
|
||||
//todo: this may exceed max command length
|
||||
result = "m" + result + "l";
|
||||
|
Loading…
Reference in New Issue
Block a user