commit | b9b66a3a5740dfa0cf929a9c9abcdbaabe989358 | [log] [tgz] |
---|---|---|
author | Yvan Roux <yvan.roux@foss.st.com> | Wed Jun 15 16:07:22 2022 +0200 |
committer | Yvan Roux <yvan.roux@foss.st.com> | Wed Jun 15 16:07:22 2022 +0200 |
tree | 4c2bc14bc2505fcd4d2a5c0f9fbed5cb01da1842 | |
parent | 0d12d61b9a646f317d9793492971c9a28f83b754 [diff] |
gdb/arm: Make sp alias for one of the other stack pointers For Cortex-M targets, SP register is never detached from msp or psp, it always has the same value as one of them. Let GDB treat ARM_SP_REGNUM as an alias similar to what is done in hardware. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> Signed-off-by: Yvan Roux <yvan.roux@foss.st.com>