target/arm_dpm: rename 'wp_pc' as 'wp_addr'
[fw/openocd] / src / target / arm_dpm.h
index 82707822b1f90cf576533568305ebf98ba1d2584..80587f5fe127ae2078d8de8a92e9b3843627d2ae 100644 (file)
@@ -137,8 +137,12 @@ struct arm_dpm {
        struct dpm_bp *dbp;
        struct dpm_wp *dwp;
 
-       /** Address of the instruction which triggered a watchpoint. */
-       target_addr_t wp_pc;
+       /**
+        * Target dependent watchpoint address.
+        * Either the address of the instruction which triggered a watchpoint
+        * or the memory address whose access triggered a watchpoint.
+        */
+       target_addr_t wp_addr;
 
        /** Recent value of DSCR. */
        uint32_t dscr;