From ad1cf13ef4259c76a7fa9f19b960490b826df17a Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Mon, 1 May 2017 08:35:10 -0700 Subject: [PATCH] Correct debugging print in read_memory --- src/target/riscv/riscv-013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index cbe926e16..31259b255 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);