gdb/arm: Fix prologue analysis to support vpush
authorChristophe Lyon <christophe.lyon@arm.com>
Fri, 1 Apr 2022 09:21:58 +0000 (10:21 +0100)
committerChristophe Lyon <christophe.lyon@arm.com>
Wed, 27 Apr 2022 14:18:17 +0000 (15:18 +0100)
commitfcaa1071d7921c4f7c7592a10ed7b84830ec8c49
tree0f89661c8d52a54be61315da68e6b84f195809a9
parent41b96eef5f1de451e5e95cca053df0550f66bbf5
gdb/arm: Fix prologue analysis to support vpush

While working on adding support for Non-secure/Secure modes unwinding,
I noticed that the prologue analysis lacked support for vpush, which
is used for instance in the CMSE stub routine.

This patch updates thumb_analyze_prologue accordingly, adding support
for vpush of D-registers.

Signed-off-by: Christophe Lyon <christophe.lyon@foss.st.com>
Signed-off-by: Christophe Lyon <christophe.lyon@arm.com>
gdb/arm-tdep.c