aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-11-22 18:06:33 +0100
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-11-22 19:17:27 +0100
commitf3f7ecc942f3844559142b933aa40b5ef75e3d5e (patch)
tree2e3365cb24b6a7e6423b160012fab4d0f58b6897 /gdb/arm-tdep.c
parentd7229d6a56118234fc66d84e3f1fe9c0d4592fbf (diff)
downloadgdb-f3f7ecc942f3844559142b933aa40b5ef75e3d5e.zip
gdb-f3f7ecc942f3844559142b933aa40b5ef75e3d5e.tar.gz
gdb-f3f7ecc942f3844559142b933aa40b5ef75e3d5e.tar.bz2
gdb/arm: Fix obvious typo in b0b23e06c3a
As part of the rebase of the patch, I managed to loose the local changes I had for the comments from Tomas in https://sourceware.org/pipermail/gdb-patches/2022-November/193413.html This patch corrects the obvious two typos. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index f748df8..a839f95 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -401,9 +401,9 @@ arm_cache_init (struct arm_prologue_cache *cache, frame_info_ptr frame)
else if (tdep->is_m)
{
cache->msp_s
- = get_frame_register_unsigned (frame, tdep->m_profile_msp_s_regnum);
+ = get_frame_register_unsigned (frame, tdep->m_profile_msp_regnum);
cache->psp_s
- = get_frame_register_unsigned (frame, tdep->m_profile_psp_s_regnum);
+ = get_frame_register_unsigned (frame, tdep->m_profile_psp_regnum);
/* Identify what sp is alias for (msp or psp). */
if (cache->msp_s == cache->sp)