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:
Andrey 2018-02-28 16:31:39 +01:00 committed by Ivan
parent 2444385763
commit e0f53ace19
4 changed files with 78 additions and 33 deletions

View file

@ -101,7 +101,7 @@ bool cpu_thread::check_state()
{
#ifdef WITH_GDB_DEBUGGER
if (test(state, cpu_flag::dbg_pause)) {
fxm::get<GDBDebugServer>()->notify();
fxm::get<GDBDebugServer>()->pause_from(this);
}
#endif