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 45444d5ea3
commit 6a05dba879
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);
break;
case 'H':
case 'T':
// This is faked because we only have one thread
strncpy(stub->outgoing, "OK", GDB_STUB_MAX_LINE - 4);
_sendMessage(stub);