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>
Subject: [PATCH V3 0/2] gdb/arm: Sync sp with other *sp registers
Date: Fri, 22 Jul 2022 22:59:29 +0200	[thread overview]
Message-ID: <20220722205930.2461429-1-torbjorn.svensson@foss.st.com> (raw)
In-Reply-To: <1dde8763-9da8-1590-ac3f-06f0555bc14a@arm.com>

Hi,

This is a new version of the patch with the eith if-statements replaced
with 10 of assignemtns instead. It also include a cleanup that converts
the existing swtich statment to if-else statements as the alternative
SP register handling on Arm Contex-M does not have known register
numbers at compile time.

To avoid the confusion; the patch series is a joint effort from me
an Yvan and thus, both names exist in the patches.

Yvan Roux (2):
  gdb/arm: Use if-else if instead of switch
  gdb/arm: Sync sp with other *sp registers

 gdb/arm-tdep.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 89 insertions(+), 14 deletions(-)


  reply	other threads:[~2022-07-22 21:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07  9:17 [PATCH V2 " Yvan Roux
2022-07-07  9:19 ` [PATCH V2 1/2] gdb/arm: Rename arm_cache_is_sp_register to Yvan Roux
2022-07-16  2:03   ` Luis Machado
2022-07-21 13:01     ` Luis Machado
2022-07-07  9:21 ` [PATCH V2 2/2] gdb/arm: Sync sp with other *sp registers Yvan Roux
2022-07-16  2:03   ` Luis Machado
2022-07-21  8:33     ` Torbjorn SVENSSON
2022-07-21  8:48       ` Luis Machado
2022-07-22 20:59         ` Torbjörn SVENSSON [this message]
2022-07-22 20:59         ` [PATCH v3 1/2] gdb/arm: Use if-else if instead of switch Torbjörn SVENSSON
2022-07-25  9:48           ` Luis Machado
2022-07-22 20:59         ` [PATCH v3 2/2] gdb/arm: Sync sp with other *sp registers Torbjörn SVENSSON
2022-07-25  9:52           ` Luis Machado

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=20220722205930.2461429-1-torbjorn.svensson@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=gdb-patches@sourceware.org \
    /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).