mirror of https://github.com/mgba-emu/mgba.git
gdb-stub: Add support for the T command by faking it
This commit is contained in:
parent
3bc7362f08
commit
a7ad0e61e2
|
@ -629,6 +629,7 @@ size_t _parseGDBMessage(struct GDBStub* stub, const char* message) {
|
||||||
_readGPRs(stub, message);
|
_readGPRs(stub, message);
|
||||||
break;
|
break;
|
||||||
case 'H':
|
case 'H':
|
||||||
|
case 'T':
|
||||||
// This is faked because we only have one thread
|
// This is faked because we only have one thread
|
||||||
strncpy(stub->outgoing, "OK", GDB_STUB_MAX_LINE - 4);
|
strncpy(stub->outgoing, "OK", GDB_STUB_MAX_LINE - 4);
|
||||||
_sendMessage(stub);
|
_sendMessage(stub);
|
||||||
|
|
Loading…
Reference in New Issue