From: Tom de Vries <tdevries@suse.de>
To: Stephan Rohr <stephan.rohr@intel.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb, inferior: replace NULL by nullptr
Date: Tue, 4 Aug 2026 14:29:05 +0200 [thread overview]
Message-ID: <14e2c394-6bb4-4ab1-9d0b-ed81151d5dee@suse.de> (raw)
In-Reply-To: <20260804105909.177543-1-stephan.rohr@intel.com>
On 8/4/26 12:59 PM, Stephan Rohr wrote:
> From: Nils-Christian Kempke <nils-christian.kempke@intel.com>
>
Hi,
we could also make nullptr the default argument.
Thanks,
- Tom
> ---
> gdb/inferior.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gdb/inferior.c b/gdb/inferior.c
> index 1481f46cdd1..65da52b9ccb 100644
> --- a/gdb/inferior.c
> +++ b/gdb/inferior.c
> @@ -588,7 +588,7 @@ print_inferior (struct ui_out *uiout, const char *requested_inferiors)
> if (!number_is_in_list (requested_inferiors, inf->num))
> continue;
>
> - ui_out_emit_tuple tuple_emitter (uiout, NULL);
> + ui_out_emit_tuple tuple_emitter (uiout, nullptr);
>
> if (inf == current_inf)
> uiout->field_string ("current", "*");
prev parent reply other threads:[~2026-08-04 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 10:59 Stephan Rohr
2026-08-04 12:29 ` 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=14e2c394-6bb4-4ab1-9d0b-ed81151d5dee@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=stephan.rohr@intel.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