aarch64: fix software breakpoints when in aarch32 state
commit5d00fd9d1dc504335dd71e474a3d61dec7696c40
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Wed, 26 Oct 2016 15:32:43 +0000 (26 17:32 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Feb 2017 09:11:52 +0000 (24 09:11 +0000)
treecd5f3092f02a8599de8bbd3d7265e4f939f0a5f6
parent7c85165bc1a606883faa9bec51ebefbc652301f4
aarch64: fix software breakpoints when in aarch32 state

Use the correct opcode for Aarch32 state, both for the breakpoint
instruction itself and the cache handling functions.

Change-Id: I975fa67b1e577b54f5c672a01d516419c6a614b2
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3981
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/aarch64.c
src/target/armv8_cache.c
src/target/armv8_dpm.c
src/target/armv8_opcodes.c
src/target/armv8_opcodes.h