mips32, add option to avoid check in last instruction
authorSalvador Arroyo <sarroyofdez@yahoo.es>
Mon, 27 Feb 2017 11:25:49 +0000 (12:25 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Mon, 8 May 2017 17:00:09 +0000 (18:00 +0100)
commite32058811794388038fcb7da930f3154c0cb7ea2
treee14052f91570053503cf46f4c546d92766f72743
parent1392c27cf9ff1a7f5f5477d23880f2e5c59c898e
mips32, add option to avoid check in last instruction

This option is needed, for example, when exiting
debug mode in bmips targets. The last instruction
is a NOP, not a DERET. When working in async mode
this check is not done, mips32_pracc_queue_exec() pass
the parameter to mips32_pracc_exec() and never use it.

Change-Id: I4c7ed4feb1588b62e2645b955b501b6671113b36
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/4021
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/mips32_pracc.c
src/target/mips32_pracc.h
src/target/mips_ejtag.c