armv8: allow halt on exception
add command 'catch_exc' to halt a core on entering any of Secure EL1 or EL3 or Non-Secure EL1 or EL2. Change-Id: I0c68e247af68dd96616855a9bc1063c277d222e5 Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on: http://openocd.zylin.com/4479 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
This commit is contained in:
committed by
Matthias Welwarsky
parent
21687eb983
commit
db429c34d0
@@ -153,6 +153,8 @@ static int gdb_last_signal(struct target *target)
|
||||
return 0x05; /* SIGTRAP */
|
||||
case DBG_REASON_SINGLESTEP:
|
||||
return 0x05; /* SIGTRAP */
|
||||
case DBG_REASON_EXC_CATCH:
|
||||
return 0x05;
|
||||
case DBG_REASON_NOTHALTED:
|
||||
return 0x0; /* no signal... shouldn't happen */
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user