From 3acc277e49fd6fcfc0af2addb0ed49be50d7755b Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 26 Jul 2023 13:14:01 -0700 Subject: [PATCH] target/riscv: Remove duplicate `read PC` message Change-Id: Ie085758e3cf193f2671ea53fb82fd401d0c52d86 Signed-off-by: Tim Newsome --- src/target/riscv/riscv-013.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 9122d28460..e95d878e7b 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. */