cortex: autostep correctly handle user breakpoint47/947/3
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 6 Nov 2012 15:43:51 +0000 (15:43 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 6 Nov 2012 16:27:19 +0000 (16:27 +0000)
commit68956e028af684a06d5649691574d6eaac8b6caa
tree0d4fb56115d1b7ff808e89697904ff16df263b9f
parent79fa75e199ae7cafe0be9d71d7246464da34015e
cortex: autostep correctly handle user breakpoint

If we halt due to a breakpoint make sure that we do not remove it during a
step, only remove breakpoints we have created.

Change-Id: I060168e54e53637d4fbf3cbcf62072efdb353807
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/947
Tested-by: jenkins
src/target/cortex_m.c