Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: Re: [RFC 3/3] [gdb/contrib] Use shfmt --simplify in shfmt.sh
Date: Tue, 15 Sep 2026 09:26:57 +0200	[thread overview]
Message-ID: <4817e957-aadc-4231-96f2-9978b7cb3604@suse.de> (raw)
In-Reply-To: <20260902131739.2125928-4-tdevries@suse.de>

On 9/2/26 3:17 PM, Tom de Vries wrote:
> 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)"


I've committed this change as a separate patch (
https://sourceware.org/pipermail/gdb-patches/2026-September/230355.html ).

Thanks,
- Tom

      reply	other threads:[~2026-09-15  7:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 13:17 [RFC 0/3] [pre-commit] Add shfmt Tom de Vries
2026-09-02 13:17 ` [RFC 1/3] " Tom de Vries
2026-09-02 13:17 ` [RFC 2/3] [pre-commit] Enable shfmt Tom de Vries
2026-09-02 13:17 ` [RFC 3/3] [gdb/contrib] Use shfmt --simplify in shfmt.sh Tom de Vries
2026-09-15  7:26   ` Tom de Vries [this message]

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=4817e957-aadc-4231-96f2-9978b7cb3604@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