]> git.sur5r.net Git - openocd/commit
aarch64: use correct instruction for software breakpoints
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 16 Sep 2016 11:46:08 +0000 (13:46 +0200)
committerMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 10 Feb 2017 13:01:39 +0000 (14:01 +0100)
commit4246fac240eb28e5a28112b71fc0b5f911e6c922
tree140130da1def7785b88c7cb15cba2140e8627e84
parentdf7069af556bd9601ec293a87e8465fb713b3a06
aarch64: use correct instruction for software breakpoints

External debuggers need to use HLT, not BRK. HLT generates a halting
debug event while BRK generates a debug exception for self-hosted
debugging.

Change-Id: I24024b83668107f73a14cc75d951134917269e5c
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
src/target/aarch64.c
src/target/armv8_dpm.c
src/target/armv8_opcodes.h