target/arm_dpm: rename 'wp_pc' as 'wp_addr'
[fw/openocd] / src / target / arm11.c
index 68d4e18944324e076053ce0b2e35005873c5ef77..ff125d0eaa956da1b36859e729f04e947da6f625 100644 (file)
@@ -355,8 +355,7 @@ static int arm11_arch_state(struct target *target)
        /* REVISIT also display ARM11-specific MMU and cache status ... */
 
        if (target->debug_reason == DBG_REASON_WATCHPOINT)
-               LOG_USER("Watchpoint triggered at PC %#08x",
-                       (unsigned) arm11->dpm.wp_pc);
+               LOG_USER("Watchpoint triggered at PC " TARGET_ADDR_FMT, arm11->dpm.wp_addr);
 
        return retval;
 }