projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target/arm_dpm: rename 'wp_pc' as 'wp_addr'
[fw/openocd]
/
src
/
target
/
arm_dpm.h
diff --git
a/src/target/arm_dpm.h
b/src/target/arm_dpm.h
index 82707822b1f90cf576533568305ebf98ba1d2584..80587f5fe127ae2078d8de8a92e9b3843627d2ae 100644
(file)
--- a/
src/target/arm_dpm.h
+++ b/
src/target/arm_dpm.h
@@
-137,8
+137,12
@@
struct arm_dpm {
struct dpm_bp *dbp;
struct dpm_wp *dwp;
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;
/** Recent value of DSCR. */
uint32_t dscr;