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

@@ -22,6 +22,7 @@
#include <86box/fdd.h>
#include <86box/fdc.h>
#include <86box/machine.h>
#include <86box/gdbstub.h>
#include "386_common.h"
#ifdef USE_NEW_DYNAREC
#include "codegen.h"
@@ -256,6 +257,11 @@ exec386(int cycs)
if (TIMER_VAL_LESS_THAN_VAL(timer_target, (uint32_t) tsc))
timer_process_inline();
#ifdef USE_GDBSTUB
if (gdbstub_singlestep)
return;
#endif
}
}
}