diff options
-rw-r--r-- | src/rtos/riscv_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/riscv_debug.c b/src/rtos/riscv_debug.c index ebc170e..bcfddbd 100644 --- a/src/rtos/riscv_debug.c +++ b/src/rtos/riscv_debug.c @@ -129,7 +129,7 @@ static int riscv_gdb_thread_packet(struct connection *connection, const char *pa return ERROR_OK; } - if (strcmp(packet, "qTStatus", 8) == 0) { + if (strncmp(packet, "qTStatus", 8) == 0) { gdb_put_packet(connection, "T0", strlen("T0")); return ERROR_OK; } |