core/debugger: Implement new GDB stub debugger

This commit is contained in:
Liam 2022-05-30 19:35:01 -04:00
parent 7f1bf5c7a7
commit 2ee161a0bf
27 changed files with 1500 additions and 42 deletions

View file

@ -54,15 +54,6 @@ public:
*/
void run() override;
/**
* Steps the emulation thread by a single CPU instruction (if the CPU is not already running)
* @note This function is thread-safe
*/
void ExecStep() {
exec_step = true;
running_cv.notify_all();
}
/**
* Sets whether the emulation thread is running or not
* @param running Boolean value, set the emulation thread to running if true
@ -99,7 +90,6 @@ public:
}
private:
bool exec_step = false;
bool running = false;
std::stop_source stop_source;
std::mutex running_mutex;