diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 04:45:39 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 04:45:39 -0700 |
commit | 900af90662ef5d6503fad8ce76694ff72b83e66c (patch) | |
tree | 0004de0b486cce6ea3762aa8eb4f8652d0a75fce | |
parent | f6d6ed85ab035227c99b9bf7785e10e191959954 (diff) | |
download | riscv-openocd-900af90662ef5d6503fad8ce76694ff72b83e66c.zip riscv-openocd-900af90662ef5d6503fad8ce76694ff72b83e66c.tar.gz riscv-openocd-900af90662ef5d6503fad8ce76694ff72b83e66c.tar.bz2 |
sntrnmp
-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; } |