* [pushed] [gdb] Simplify gdb/make-init-c
@ 2026-09-15 7:25 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2026-09-15 7:25 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-15 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 7:25 [pushed] [gdb] Simplify gdb/make-init-c Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox