]> git.sur5r.net Git - openocd/commit
ARMV7M: handle bkpt instruction on resume/step
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 19 Jan 2010 21:00:55 +0000 (21:00 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Wed, 20 Jan 2010 09:07:55 +0000 (09:07 +0000)
commit0c3a4b4d818554ea00dc993d31cea9f3e0d1a87d
tree5aaa6baf33bb49344f2f492a0eaf299032e08a13
parent20d1ef70e8417da7efc8a032992ee7672a19e296
ARMV7M: handle bkpt instruction on resume/step

Skip over a bkpt instruction if found on resume/step.
Only software breakpoints known to OpenOCD are currently handled.

So this handles the special case of either a user added bkpt
or library added, eg. semi-hosting support.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/target/armv7m.c
src/target/armv7m.h
src/target/cortex_m3.c