hla: enable DWT component and fix watchpoints22/1122/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 25 Jan 2013 15:32:42 +0000 (15:32 +0000)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 27 Jan 2013 14:07:59 +0000 (14:07 +0000)
commit3eb7d77601b268ac50f9efd152409e1e7a1d83c7
treeaed9525ac6dab516aaf1bf027d54fb6dffa7b95b
parentd631b2e5aca26e96fb6feed2aceb40632bdfca71
hla: enable DWT component and fix watchpoints

The makes sure the DWT component is always enabled so that watchpoints
work as expected.

This does need merging into the existing cortex_m logic, however at the
moment this is non trivial.

Change-Id: Ic6cccd1badb51f70a2ca8ea9ab6923788a94c1bf
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1122
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/hla_target.c