GDB Stub: Initial commit

This commit is contained in:
RichardG867
2022-03-12 20:20:25 -03:00
parent a924622216
commit 94be8cdfc6
10 changed files with 1112 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ extern "C" {
#include "../cpu/cpu.h"
#include <86box/plat.h>
#include <86box/gdbstub.h>
volatile int cpu_thread_run = 1;
int mouse_capture = 0;
@@ -314,6 +315,8 @@ plat_pause(int p)
static wchar_t oldtitle[512];
wchar_t title[512], paused_msg[64];
gdbstub_pause(&p);
if (p == dopause) {
#ifdef Q_OS_WINDOWS
if (source_hwnd)