Match on qC, but not qCRC. (#294)
Now we pass MulticoreRtosSwitchActiveHartTest again. It was broken by #292. Change-Id: I61f0ae41efda09fd48f732b2122fed2400a43d29
This commit is contained in:
parent
7897d40099
commit
58824330da
|
@ -124,7 +124,7 @@ static int riscv_gdb_thread_packet(struct connection *connection, const char *pa
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strncmp(packet, "qC", 2) == 0) {
|
if (strcmp(packet, "qC") == 0) {
|
||||||
char rep_str[32];
|
char rep_str[32];
|
||||||
snprintf(rep_str, 32, "QC%" PRIx64, rtos->current_threadid);
|
snprintf(rep_str, 32, "QC%" PRIx64, rtos->current_threadid);
|
||||||
gdb_put_packet(connection, rep_str, strlen(rep_str));
|
gdb_put_packet(connection, rep_str, strlen(rep_str));
|
||||||
|
|
Loading…
Reference in New Issue