cortex_m: remove old target breakpoints/watchpoints63/1363/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 25 Apr 2013 16:13:41 +0000 (17:13 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 28 Apr 2013 07:38:53 +0000 (07:38 +0000)
commit67607fb64c92e069b693423642e5da6ca5a3be25
tree7a47d27b1f798033f172ee3c8744a391d8e2c926
parent392fe709275d830b0da79b46a6b1447264178c52
cortex_m: remove old target breakpoints/watchpoints

Sometimes the target may have breakpoint registers set from a previous
debug session, we can either sync them or as we have chosen here clear them.

Change-Id: I439a623ebbf010246a70e5596d04aa7d546da731
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1363
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/cortex_m.c