Cortex A/R : Allow interrupt disable during single-step

Example usage:
	cortex_a maskisr on
	cortex_a maskisr off
	cortex_r maskisr on
	cortex_r maskisr off

Change-Id: I799288d9b848a06f561ba29ec1eb8e5eeace5685
Signed-off-by: Evan Hunter <ehunter@broadcom.com>
Reviewed-on: http://openocd.zylin.com/2876
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
Evan Hunter
2015-07-17 12:41:12 +01:00
committed by Freddie Chopin
parent 7ae5b45f75
commit 987201c6dc
3 changed files with 95 additions and 0 deletions

View File

@@ -7615,6 +7615,10 @@ Initialize core debug
Enables debug by unlocking the Software Lock and clearing sticky powerdown indications
@end deffn
@deffn Command {cortex_r maskisr} [@option{on}|@option{off}]
Selects whether interrupts will be processed when single stepping
@end deffn
@subsection ARMv7-M specific commands
@cindex tracing