From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 3/3] [gdb] Use shfmt --simplify on regformats/regdat.sh
Date: Sun, 30 Aug 2026 21:53:15 +0200 [thread overview]
Message-ID: <20260830195315.1497894-4-tdevries@suse.de> (raw)
In-Reply-To: <20260830195315.1497894-1-tdevries@suse.de>
Use shfmt on gdb/regformats/regdat.sh as in the previous commit, but also use
--simplify.
---
gdb/regformats/regdat.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/regformats/regdat.sh b/gdb/regformats/regdat.sh
index 6cac186735e..486fc0e85ea 100755
--- a/gdb/regformats/regdat.sh
+++ b/gdb/regformats/regdat.sh
@@ -178,7 +178,7 @@ elif test "${xmltarget}" = x; then
if test "${xmlosabi}" != x; then
echo "<osabi>${xmlosabi}</osabi>\\"
fi
- echo "</target>\";"
+ echo '</target>";'
fi
else
echo "static const char *xmltarget_${name} = \"${xmltarget}\";"
--
2.51.0
next prev parent reply other threads:[~2026-08-30 19:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-30 19:53 [PATCH v2 0/3] [gdb] Reformat regformats/regdat.sh Tom de Vries
2026-08-30 19:53 ` [PATCH v2 1/3] [gdb] Re-indent regformats/regdat.sh Tom de Vries
2026-08-31 20:09 ` Simon Marchi
2026-09-01 9:21 ` Tom de Vries
2026-08-30 19:53 ` [PATCH v2 2/3] [gdb] Use shfmt on regformats/regdat.sh Tom de Vries
2026-08-31 20:13 ` Simon Marchi
2026-09-02 13:21 ` Tom de Vries
2026-08-30 19:53 ` Tom de Vries [this message]
2026-08-31 20:14 ` [PATCH v2 3/3] [gdb] Use shfmt --simplify " Simon Marchi
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=20260830195315.1497894-4-tdevries@suse.de \
--to=tdevries@suse.de \
--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