aboutsummaryrefslogtreecommitdiff
path: root/src/rtos
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-09-29 15:09:49 -0700
committerGitHub <noreply@github.com>2022-09-29 15:09:49 -0700
commit550a66e72094bc59b33fd2f020bf78acf731f60c (patch)
tree1b8274035256496a042554c1594ae942b76188b2 /src/rtos
parent23df83e830f355fbe7aebd3a06a75bd4421746ff (diff)
downloadriscv-openocd-550a66e72094bc59b33fd2f020bf78acf731f60c.zip
riscv-openocd-550a66e72094bc59b33fd2f020bf78acf731f60c.tar.gz
riscv-openocd-550a66e72094bc59b33fd2f020bf78acf731f60c.tar.bz2
Use LOG_TARGET_FOO() functions in more places. (#731)
Change-Id: Id2266dbfb6209bf0676f28e7383a12705ce2a70e 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/rtos.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index d73e5db..b82ecb3 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -573,10 +573,9 @@ int rtos_get_gdb_reg_list(struct connection *connection)
struct rtos_reg *reg_list;
int num_regs;
- LOG_DEBUG("RTOS: getting register list for thread 0x%" PRIx64
- ", target->rtos->current_thread=0x%" PRIx64 "\r\n",
- current_threadid,
- target->rtos->current_thread);
+ LOG_TARGET_DEBUG(target, "RTOS: getting register list for thread 0x%" PRIx64
+ ", target->rtos->current_thread=0x%" PRIx64,
+ current_threadid, target->rtos->current_thread);
int retval = target->rtos->type->get_thread_reg_list(target->rtos,
current_threadid,