This is an automated email from Gerrit.

"Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8917

-- gerrit

commit 7c6b266b19738996eca740deafceb9f59177e11f
Author: Tim Newsome <t...@sifive.com>
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 <t...@sifive.com>

diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c
index 76571c6b60..c22bfc0ead 100644
--- a/src/rtos/hwthread.c
+++ b/src/rtos/hwthread.c
@@ -204,8 +204,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;
 }
 

-- 

Reply via email to