From: Tobias Badertscher Date: Sat, 2 Apr 2016 16:18:39 +0000 (+0200) Subject: Trace the read data in stlink_read_debug32 and not the address of the variable. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b0251b9956e33059b3677dc48e7c0a5986595be0;p=fw%2Fstlink Trace the read data in stlink_read_debug32 and not the address of the variable. --- 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; }