diff --git a/src/rtos/riscv_debug.c b/src/rtos/riscv_debug.c index c999cbc7d..ad9d064e2 100644 --- a/src/rtos/riscv_debug.c +++ b/src/rtos/riscv_debug.c @@ -100,7 +100,7 @@ static int riscv_gdb_thread_packet(struct connection *connection, const char *pa } if (strncmp(packet, "qAttached", 9) == 0) { - gdb_put_packet(connection, "0", 1); + gdb_put_packet(connection, "1", 1); return ERROR_OK; }