aboutsummaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2023-07-26 13:14:01 -0700
committerTim Newsome <tim@sifive.com>2023-09-25 11:41:04 -0700
commit3acc277e49fd6fcfc0af2addb0ed49be50d7755b (patch)
tree6db970fb22f3841c15894232eb337391db472642 /src/target
parent67c2835997c206ddeba58cfc0fad76789db7474b (diff)
downloadriscv-openocd-3acc277e49fd6fcfc0af2addb0ed49be50d7755b.zip
riscv-openocd-3acc277e49fd6fcfc0af2addb0ed49be50d7755b.tar.gz
riscv-openocd-3acc277e49fd6fcfc0af2addb0ed49be50d7755b.tar.bz2
target/riscv: Remove duplicate `read PC` message
Change-Id: Ie085758e3cf193f2671ea53fb82fd401d0c52d86 Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/riscv/riscv-013.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 9122d28..e95d878 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -4702,7 +4702,6 @@ static int riscv013_get_register(struct target *target,
if (rid == GDB_REGNO_PC) {
/* TODO: move this into riscv.c. */
result = register_read_direct(target, value, GDB_REGNO_DPC);
- LOG_TARGET_DEBUG(target, "read PC from DPC: 0x%" PRIx64, *value);
} else if (rid == GDB_REGNO_PRIV) {
uint64_t dcsr;
/* TODO: move this into riscv.c. */