Don't set RTOS hartid 0

This commit is contained in:
Palmer Dabbelt 2018-05-30 05:02:05 -07:00
parent 3d8393c844
commit 9b19e10f8d
1 changed files with 1 additions and 1 deletions

View File

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