This commit is contained in:
Palmer Dabbelt 2018-05-30 04:45:39 -07:00
parent f6d6ed85ab
commit 900af90662
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}