target/arm_dpm: rename 'wp_pc' as 'wp_addr'
commit510df38407da25aa0fa7427d26b9253455885d9b
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 5 May 2021 10:27:11 +0000 (5 12:27 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 May 2021 09:04:12 +0000 (22 10:04 +0100)
tree0a8daa3246ae10b2146842e4d6ad79a755483b7c
parent936cff887abf116427802c4f07096fca1f2b1d88
target/arm_dpm: rename 'wp_pc' as 'wp_addr'

The field 'wp_pc' was originally introduced in commit 55eeea7fceb6
("ARMv7a/Cortex-A8: report watchpoint trigger insn") in end 2009
to contain the address of the instruction which triggered a
watchpoint. Later on with commit 651b861d5d5f ("target/aarch64:
Add watchpoint support") it has been reused in to hold directly
the memory address that triggered a watchpoint.

Rename 'wp_pc' as 'wp_addr' and change its doxygen description.
While there, fix the format string to print the field.

Change-Id: I2e5ced1497e4a6fb6b38f91e881807512e8d8c47
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6204
Tested-by: jenkins
Reviewed-by: Liming Sun <limings@nvidia.com>
src/target/aarch64.c
src/target/arm11.c
src/target/arm_dpm.c
src/target/arm_dpm.h
src/target/armv7a.c
src/target/armv8.c
src/target/armv8_dpm.c