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>
   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)