Merge pull request #915 from riscv/dpc_print

target/riscv: Remove duplicate read PC message
This commit is contained in:
Tim Newsome 2023-10-05 12:05:16 -07:00 committed by GitHub
commit 599e0a22e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -4671,7 +4671,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. */