From: openocd-gerrit <ope...@us...> - 2025-06-07 08:40:46
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 330b06b440aafff1150e00f396ac8d44a8cd82a9 (commit) from 6975baa88be60505e60d1bc76176b2344e966c3f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 330b06b440aafff1150e00f396ac8d44a8cd82a9 Author: Tim Newsome <ti...@si...> Date: Sun May 18 11:11:07 2025 +0200 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 <ti...@si...> Reviewed-on: https://review.openocd.org/c/openocd/+/8917 Reviewed-by: Antonio Borneo <bor...@gm...> Tested-by: jenkins diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c index cc43a07b4..5c6c45f78 100644 --- a/src/rtos/hwthread.c +++ b/src/rtos/hwthread.c @@ -206,8 +206,8 @@ static int hwthread_update_threads(struct rtos *rtos) else rtos->current_thread = threadid_from_target(target); - LOG_TARGET_DEBUG(target, "%s current_thread=%i", __func__, - (int)rtos->current_thread); + LOG_TARGET_DEBUG(target, "current_thread=%i, threads_found=%d", + (int)rtos->current_thread, threads_found); return 0; } ----------------------------------------------------------------------- Summary of changes: src/rtos/hwthread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |