From: Tom de Vries <tdevries@suse.de>
To: Tom Tromey <tromey@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Minor boolification with interrupt_target_1
Date: Fri, 13 Nov 2026 16:37:04 +0100 [thread overview]
Message-ID: <0155ac8a-4ede-4767-9be6-8ae71608e36d@suse.de> (raw)
In-Reply-To: <20261112185850.2852421-1-tromey@adacore.com>
On 11/12/26 7:58 PM, Tom Tromey wrote:
> - int all_threads = 0;
> + bool all_threads = false;
>
> dont_repeat (); /* Not for the faint of heart. */
>
> if (args != nullptr
> && startswith (args, "-a"))
> - all_threads = 1;
> + all_threads = true;
>
Hi Tom,
thanks for doing this.
This LGTM.
FWIW, you could consider collapsing this to:
...
dont_repeat (); /* Not for the faint of heart. */
bool all_threads = args != nullptr && startswith (args, "-a");
...
Thanks,
- Tom
Approved-By: Tom de Vries <tdevries@suse.de>
prev parent reply other threads:[~2026-11-13 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 18:58 Tom Tromey
2026-11-13 15:37 ` 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=0155ac8a-4ede-4767-9be6-8ae71608e36d@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=tromey@adacore.com \
/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