From 4ec68023af5e36a411637564d5ba0aff0e4d7bf2 Mon Sep 17 00:00:00 2001 From: James Turton Date: Wed, 8 Jun 2022 23:34:07 +0300 Subject: [PATCH] cortex-a: Fix compiling for native probe --- src/target/cortexa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/cortexa.c b/src/target/cortexa.c index 5477263..fda909d 100644 --- a/src/target/cortexa.c +++ b/src/target/cortexa.c @@ -822,7 +822,7 @@ static int cortexa_breakwatch_set(target *t, struct breakwatch *bw) apb_write(t, DBGWCR(i), wcr); apb_write(t, DBGWVR(i), bw->addr & ~3); - DEBUG_INFO("Watchpoint set WCR = 0x%08x, WVR = %08x\n", + DEBUG_INFO("Watchpoint set WCR = 0x%08"PRIx32", WVR = %08"PRIx32"\n", apb_read(t, DBGWCR(i)), apb_read(t, DBGWVR(i))); }