From b0251b9956e33059b3677dc48e7c0a5986595be0 Mon Sep 17 00:00:00 2001 From: Tobias Badertscher Date: Sat, 2 Apr 2016 18:18:39 +0200 Subject: [PATCH] Trace the read data in stlink_read_debug32 and not the address of the variable. --- src/stlink-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stlink-common.c b/src/stlink-common.c index 6d126d3..3a6e260 100644 --- a/src/stlink-common.c +++ b/src/stlink-common.c @@ -732,7 +732,7 @@ int stlink_read_debug32(stlink_t *sl, uint32_t addr, uint32_t *data) { ret = sl->backend->read_debug32(sl, addr, data); if (!ret) - DLOG("*** stlink_read_debug32 %x is %#x\n", data, addr); + DLOG("*** stlink_read_debug32 %x is %#x\n", *data, addr); return ret; } -- 2.47.2