target/riscv: Remove duplicate `read PC` message

Change-Id: Ie085758e3cf193f2671ea53fb82fd401d0c52d86
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2023-07-26 13:14:01 -07:00
parent 67c2835997
commit 3acc277e49
1 changed files with 0 additions and 1 deletions

View File

@ -4702,7 +4702,6 @@ static int riscv013_get_register(struct target *target,
if (rid == GDB_REGNO_PC) { if (rid == GDB_REGNO_PC) {
/* TODO: move this into riscv.c. */ /* TODO: move this into riscv.c. */
result = register_read_direct(target, value, GDB_REGNO_DPC); 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) { } else if (rid == GDB_REGNO_PRIV) {
uint64_t dcsr; uint64_t dcsr;
/* TODO: move this into riscv.c. */ /* TODO: move this into riscv.c. */