mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Improve GDB debug server (#4027)
* Made GDB debugger working with IDA * Added async interrupts support * Report proper thread after pausing * Support attaching debugger before running app
This commit is contained in:
parent
2444385763
commit
e0f53ace19
4 changed files with 78 additions and 33 deletions
|
@ -296,7 +296,7 @@ static bool ppu_break(ppu_thread& ppu, ppu_opcode_t op)
|
|||
// Pause and wait if necessary
|
||||
bool status = ppu.state.test_and_set(cpu_flag::dbg_pause);
|
||||
#ifdef WITH_GDB_DEBUGGER
|
||||
fxm::get<GDBDebugServer>()->notify();
|
||||
fxm::get<GDBDebugServer>()->pause_from(&ppu);
|
||||
#endif
|
||||
if (!status && ppu.check_state())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue