Pick an arbitrary hart ID for the target

This commit is contained in:
Palmer Dabbelt 2018-05-30 04:30:57 -07:00
parent 045d5b0142
commit 9889ccb1bb
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ static int riscv_gdb_thread_packet(struct connection *connection, const char *pa
switch (tid) {
case 0:
riscv_set_rtos_hartid(target, 0);
break;
case -1:
riscv_set_all_rtos_harts(target);
break;