aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2017-05-01 08:35:10 -0700
committerGitHub <noreply@github.com>2017-05-01 08:35:10 -0700
commitad1cf13ef4259c76a7fa9f19b960490b826df17a (patch)
tree4b0d4896083c39d4f7097bade8828ab20107c079
parent16de5044d4626bda1914af9634fd64af16d5dfb5 (diff)
downloadriscv-openocd-ad1cf13ef4259c76a7fa9f19b960490b826df17a.zip
riscv-openocd-ad1cf13ef4259c76a7fa9f19b960490b826df17a.tar.gz
riscv-openocd-ad1cf13ef4259c76a7fa9f19b960490b826df17a.tar.bz2
Correct debugging print in read_memory
-rw-r--r--src/target/riscv/riscv-013.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index cbe926e..31259b2 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -1223,7 +1223,7 @@ static int read_memory(struct target *target, uint32_t address,
{
RISCV013_INFO(info);
- LOG_DEBUG("writing %d words of %d bytes to 0x%08lx", count, size, (long)address);
+ LOG_DEBUG("reading %d words of %d bytes from 0x%08lx", count, size, (long)address);
select_dmi(target);
riscv_set_current_hartid(target, 0);