gdb/arm: Ensure that stack pointers are in sync
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 4 Nov 2022 12:58:31 +0000 (13:58 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Mon, 21 Nov 2022 14:33:14 +0000 (15:33 +0100)
commitb0b23e06c3a2e3b92d6f12d99650c7d1cc5d939c
tree4f8b1fdb626e7b193730118530c0a59fe871ec9a
parent4d9fd8683fd48f081cb205afed07ba69f9aed134
gdb/arm: Ensure that stack pointers are in sync

For targets with secext, msp and psp can be seen as an alias for one
of msp_s, msp_ns, psp_s or psp_ns.
Without this patch, sp might be secure, but msp or psp is non-secure
(this state can not happen in the hardware).

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gdb/arm-tdep.c