public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Torbjörn SVENSSON" <torbjorn.svensson@foss.st.com>
To: <gdb-patches@sourceware.org>
Cc: luis.machado@arm.com,
	"Torbjörn SVENSSON" <torbjorn.svensson@foss.st.com>
Subject: [pushed] gdb/arm: Fix obvious typo in b0b23e06c3a
Date: Tue, 22 Nov 2022 19:19:36 +0100	[thread overview]
Message-ID: <20221122181935.3482797-1-torbjorn.svensson@foss.st.com> (raw)

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>
---
 gdb/arm-tdep.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index f748df83e56..a839f957440 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)
-- 
2.25.1


                 reply	other threads:[~2022-11-22 18:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221122181935.3482797-1-torbjorn.svensson@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=luis.machado@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).