all repos — mgba @ be13627d37a01bcfb63665d5b4bd343dcb11cd84

mGBA Game Boy Advance Emulator

Send correct signal back to gdb when stepping
Jeffrey Pfau jeffrey@endrift.com
Mon, 01 Sep 2014 01:57:11 -0700
commit

be13627d37a01bcfb63665d5b4bd343dcb11cd84

parent

be46f2bac9fb4c1a88779303e949be99f6f826d8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/debugger/gdb-stub.csrc/debugger/gdb-stub.c

@@ -177,7 +177,7 @@ }

static void _step(struct GDBStub* stub, const char* message) { ARMRun(stub->d.cpu); - snprintf(stub->outgoing, GDB_STUB_MAX_LINE - 4, "S%02x", SIGINT); + snprintf(stub->outgoing, GDB_STUB_MAX_LINE - 4, "S%02x", SIGTRAP); _sendMessage(stub); // TODO: parse message UNUSED(message);