diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-10-25 16:37:14 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-23 21:46:02 +0000 |
commit | 561984c8f672b5b35a78e80529107ec0599fc037 (patch) | |
tree | 71f7dbed34286352d333d855373a7c4bb92d775e /src/target/cortex_m.h | |
parent | bd1502eb0fa6b557a7db9e2d8de12ffdf678545c (diff) |
hla: fix watchpoints not being set
Watchpoints were not being enabled when the hl adapter target was resumed.
This effects both stlink and icdi interfaces.
Change-Id: Ia9f8a9415be97a467cd099b63b6bc9f7f37d0c0d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/931
Tested-by: jenkins
Diffstat (limited to 'src/target/cortex_m.h')
-rw-r--r-- | src/target/cortex_m.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/cortex_m.h b/src/target/cortex_m.h index a9bd7a49..11d70524 100644 --- a/src/target/cortex_m.h +++ b/src/target/cortex_m.h @@ -194,6 +194,7 @@ int cortex_m3_set_watchpoint(struct target *target, struct watchpoint *watchpoin int cortex_m3_unset_watchpoint(struct target *target, struct watchpoint *watchpoint); int cortex_m3_add_watchpoint(struct target *target, struct watchpoint *watchpoint); int cortex_m3_remove_watchpoint(struct target *target, struct watchpoint *watchpoint); +void cortex_m3_enable_breakpoints(struct target *target); void cortex_m3_enable_watchpoints(struct target *target); void cortex_m3_dwt_setup(struct cortex_m3_common *cm3, struct target *target); |