From: Daniel Goehring Date: Thu, 16 May 2019 20:47:57 +0000 (-0400) Subject: ARMv8: Update rtos_reg storage from 8 to 16 bytes X-Git-Tag: v0.11.0-rc1~629 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=88728abee1eea55e5c11bab55640ea13a1357f3a ARMv8: Update rtos_reg storage from 8 to 16 bytes To support 128 bit registers, the rtos_reg structure value array needs to be updated from 8 to 16 bytes. Tested by reading ARMv8 NEON FP regs on an Ampere eMAG 8180 with GDB. Change-Id: I7f3fe1a5b2def599d021787fbe9cdd51f92859a4 Signed-off-by: Daniel Goehring Reviewed-on: http://openocd.zylin.com/5209 Tested-by: jenkins Reviewed-by: Matthias Welwarsky --- diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index b34604787e..93b1731aad 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -61,7 +61,7 @@ struct rtos { struct rtos_reg { uint32_t number; uint32_t size; - uint8_t value[8]; + uint8_t value[16]; }; struct rtos_type {