gdb-stub: Add support for the T command by faking it

This commit is contained in:
aldelaro5 2021-09-27 19:47:07 -04:00 committed by Vicki Pfau
parent 3bc7362f08
commit a7ad0e61e2
1 changed files with 1 additions and 0 deletions

View File

@ -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);