diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2017-11-04 09:47:02 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-03-12 09:43:55 +0000 |
commit | 9f4659ae6b246bcab77d915cee288b2307a926b3 (patch) | |
tree | 90fe7ca0767abdb1998586bbeb575d944641bbc8 /src/target/target.h | |
parent | 69f0105324f2fdcd0499ae07ada15d340762d061 (diff) | |
download | riscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.zip riscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.tar.gz riscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.tar.bz2 |
target: add examine-fail event
A configuration script may want to check the reason why examine fails
e.g. device has security lock engaged.
tcl/target/kx.cfg and klx.cfg is modified to use the new event
for testing of the security lock of Kinetis MCU
Change-Id: Id1d3a79d24e84b513f4ea35586cd2ab0437ff9b3
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4289
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h index 81fd9d2..b954ec2 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -275,6 +275,7 @@ enum target_event { TARGET_EVENT_DEBUG_RESUMED, /* target resumed to execute on behalf of the debugger */ TARGET_EVENT_EXAMINE_START, + TARGET_EVENT_EXAMINE_FAIL, TARGET_EVENT_EXAMINE_END, TARGET_EVENT_GDB_ATTACH, |