More debugging

This commit is contained in:
Palmer Dabbelt 2018-05-30 01:42:20 -07:00
parent fccc20ad7a
commit a7e00a8e72
1 changed files with 1 additions and 0 deletions

View File

@ -1096,6 +1096,7 @@ int riscv_openocd_poll(struct target *target)
}
if (riscv_rtos_enabled(target)) {
LOG_DEBUG(" setting RTOS threaded to %d+1", halted_hart);
target->rtos->current_threadid = halted_hart + 1;
target->rtos->current_thread = halted_hart + 1;
}