rtos/hwthread: Nicer debug message in hwthread_update_threads()
Imported from https://github.com/riscv-collab/riscv-openocd/pull/763 Change-Id: Ia5931a772476a2ae186ed87cd70d7e4be2f196fb Signed-off-by: Tim Newsome <tim@sifive.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8917 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
6975baa88b
commit
330b06b440
@@ -206,8 +206,8 @@ static int hwthread_update_threads(struct rtos *rtos)
|
|||||||
else
|
else
|
||||||
rtos->current_thread = threadid_from_target(target);
|
rtos->current_thread = threadid_from_target(target);
|
||||||
|
|
||||||
LOG_TARGET_DEBUG(target, "%s current_thread=%i", __func__,
|
LOG_TARGET_DEBUG(target, "current_thread=%i, threads_found=%d",
|
||||||
(int)rtos->current_thread);
|
(int)rtos->current_thread, threads_found);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user