diff options
Diffstat (limited to 'src/target/arm_dpm.h')
-rw-r--r-- | src/target/arm_dpm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h index 11213a36..135e3db8 100644 --- a/src/target/arm_dpm.h +++ b/src/target/arm_dpm.h @@ -125,6 +125,9 @@ struct arm_dpm { /** Address of the instruction which triggered a watchpoint. */ uint32_t wp_pc; + /** Recent value of DSCR. */ + uint32_t dscr; + // FIXME -- read/write DCSR methods and symbols }; @@ -151,4 +154,6 @@ void arm_dpm_report_wfar(struct arm_dpm *, uint32_t wfar); #define DSCR_ENTRY(dscr) (((dscr) >> 2) & 0xf) +void arm_dpm_report_dscr(struct arm_dpm *dpm, uint32_t dcsr); + #endif /* __ARM_DPM_H */ |