summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxinterpreter.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-05-23 18:06:48 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-05-23 19:03:11 +0200
commit850010a96b6cbc3eae03edd891e50325e017b678 (patch)
tree391100fb00f0bf3fe7aae8c9a574c72d8ce9b17b /libpcsxcore/psxinterpreter.c
parent470da05658a97a51bd2ad2db7834bcc13dd995fd (diff)
downloadpcsxr-850010a96b6cbc3eae03edd891e50325e017b678.tar.gz
Replaced in-house gdb stub by MIT-licensed implementation
Imported from a fork of https://github.com/mborgerson/gdbstub
Diffstat (limited to 'libpcsxcore/psxinterpreter.c')
-rw-r--r--libpcsxcore/psxinterpreter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c
index 685c9abf..a2bc0e1d 100644
--- a/libpcsxcore/psxinterpreter.c
+++ b/libpcsxcore/psxinterpreter.c
@@ -28,6 +28,7 @@
#include "pgxp_debug.h"
#include "pgxp_cpu.h"
#include "pgxp_gte.h"
+#include "../gdbstub/gdbstub_sys.h"
static int branch = 0;
static int branch2 = 0;
@@ -1204,7 +1205,7 @@ static inline void execI() {
debugI();
- if (Config.GdbServer) GdbServerProcessDebug();
+ if (Config.GdbServer) dbg_sys_process();
else if (Config.Debug) ProcessDebug();
psxRegs.pc += 4;