]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
cortex_a: Use endianness for soft breakpoints
authorLucien Dufour <lucien.buchmann@dufour.aero>
Thu, 15 May 2025 12:31:25 +0000 (14:31 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 7 Jun 2025 08:43:10 +0000 (08:43 +0000)
commit25b99ae456971d5522c4e836e80bfa8e40e5a512
tree5cbcab5f41048ed088fe9059948b9d25371bf285
parentc545b9c4ab32c5566091dfe05e7f1765c39ed069
cortex_a: Use endianness for soft breakpoints

Fix endianness for cortex_r4 and cortex_r5 when inserting software
breakpoints. Because the cortex_a target is used by the cortex_r
architecture and some chips start in BE by default (e.g. TMS570)

Change-Id: I68b7fe7c4604de67fee2e64fff0fad2691659a58
Signed-off-by: Lucien Dufour <lucien.buchmann@dufour.aero>
Reviewed-on: https://review.openocd.org/c/openocd/+/8909
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
src/target/cortex_a.c
src/target/cortex_a.h