diff options
author | Yvan Roux <yvan.roux@foss.st.com> | 2022-06-27 13:26:36 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@foss.st.com> | 2022-06-27 13:28:07 +0200 |
commit | 8c9ae6df3c244a7a738085ab461cb098df1d46f6 (patch) | |
tree | 13e3fdfef6f166ca6f52e61c285f0bd47a38234b /intl/libgnuintl.h | |
parent | a3f1431a5087445ec3987d38b5ee37bcb802214c (diff) | |
download | binutils-8c9ae6df3c244a7a738085ab461cb098df1d46f6.zip binutils-8c9ae6df3c244a7a738085ab461cb098df1d46f6.tar.gz binutils-8c9ae6df3c244a7a738085ab461cb098df1d46f6.tar.bz2 |
gdb/arm: Unwind Non-Secure callbacks from Secure
Without this changeset, the unwinding doesn't take into account
Non-Secure to Secure stack unwinding enablement status and
doesn't choose the proper SP to do the unwinding.
This patch only unwinds the stack when Non-Secure to Secure
unwinding is enabled, previous SP is set w/r to the current mode
(Handler -> msp_s, Thread -> psp_s) and then the Secure stack is
unwound. Ensure thumb bit is set in PSR when needed. Also, drop
thumb bit from PC if set.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Signed-off-by: Yvan ROUX <yvan.roux@foss.st.com>
Diffstat (limited to 'intl/libgnuintl.h')
0 files changed, 0 insertions, 0 deletions