From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb] Simplify gdb/make-init-c
Date: Tue, 15 Sep 2026 09:25:48 +0200 [thread overview]
Message-ID: <20260915072548.183834-1-tdevries@suse.de> (raw)
Use shfmt --simplify to reduce escaping in a line in gdb/make-init-c [1].
[1] https://sourceware.org/pipermail/gdb-patches/2026-September/229952.html
---
gdb/make-init-c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/make-init-c b/gdb/make-init-c
index 47bcfd44533..bb8cc6db1f1 100755
--- a/gdb/make-init-c
+++ b/gdb/make-init-c
@@ -64,7 +64,7 @@ echo ""
echo " /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the"
echo " order in which initialization functions are called. This is"
echo " used by the testsuite. */"
-echo " if (getenv (\"GDB_REVERSE_INIT_FUNCTIONS\") != nullptr)"
+echo ' if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr)'
echo " std::reverse (functions.begin (), functions.end ());"
echo ""
echo " for (initialize_file_ftype *function : functions)"
base-commit: 44285b2cbf2193881a01d993a9bacee878fe5ff9
--
2.51.0
reply other threads:[~2026-09-15 7:26 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=20260915072548.183834-1-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