From a7ad0e61e27b614b25609c4f37b7b712d50b6a63 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Mon, 27 Sep 2021 19:47:07 -0400 Subject: [PATCH] gdb-stub: Add support for the T command by faking it --- src/debugger/gdb-stub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debugger/gdb-stub.c b/src/debugger/gdb-stub.c index 518425b83..e911f67bb 100644 --- a/src/debugger/gdb-stub.c +++ b/src/debugger/gdb-stub.c @@ -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);