diff options
author | Tim Newsome <tim@sifive.com> | 2022-11-10 10:32:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 10:32:23 -0800 |
commit | 57dbcb1d02c9a603364d40aebdc5d9bc8c2be2d7 (patch) | |
tree | 9953007cf3dd50b08f64edd40dbf11297df71faf /src/rtos | |
parent | f59bb72fde97a62d849b20d6098d3cb30d1678b2 (diff) | |
download | riscv-openocd-57dbcb1d02c9a603364d40aebdc5d9bc8c2be2d7.zip riscv-openocd-57dbcb1d02c9a603364d40aebdc5d9bc8c2be2d7.tar.gz riscv-openocd-57dbcb1d02c9a603364d40aebdc5d9bc8c2be2d7.tar.bz2 |
Improve a couple of user/debug messages. (#763)
* gdb_server: Improve info message.
Add target name and state to "Not running when halt was requested"
message.
Change-Id: Ic84e9a884b57caa270cfee0ca6fa6a0dd8e5d2bd
Signed-off-by: Tim Newsome <tim@sifive.com>
* rtos/hwthread: Nicer debug message in hwthread_update_threads()
Change-Id: Ia5931a772476a2ae186ed87cd70d7e4be2f196fb
Signed-off-by: Tim Newsome <tim@sifive.com>
Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'src/rtos')
-rw-r--r-- | src/rtos/hwthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c index b7d5c5f..4902e02 100644 --- a/src/rtos/hwthread.c +++ b/src/rtos/hwthread.c @@ -211,7 +211,7 @@ static int hwthread_update_threads(struct rtos *rtos) else rtos->current_thread = threadid_from_target(target); - LOG_DEBUG("%s current_thread=%i", __func__, (int)rtos->current_thread); + LOG_DEBUG("current_thread=%i, threads_found=%d", (int)rtos->current_thread, threads_found); return 0; } |