mirror of https://github.com/mgba-emu/mgba.git
Send correct signal back to gdb when stepping
This commit is contained in:
parent
be46f2bac9
commit
be13627d37
|
@ -177,7 +177,7 @@ static void _continue(struct GDBStub* stub, const char* message) {
|
||||||
|
|
||||||
static void _step(struct GDBStub* stub, const char* message) {
|
static void _step(struct GDBStub* stub, const char* message) {
|
||||||
ARMRun(stub->d.cpu);
|
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);
|
_sendMessage(stub);
|
||||||
// TODO: parse message
|
// TODO: parse message
|
||||||
UNUSED(message);
|
UNUSED(message);
|
||||||
|
|
Loading…
Reference in New Issue