[PATCH] gdb, inferior: replace NULL by nullptr

Stephan Rohr <[email protected]> Tue, 4 Aug 2026 10:59:09 +0000
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
From: Nils-Christian Kempke <[email protected]>

---
 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", "*");
-- 
2.43.0

________________________________________
Intel Deutschland GmbH 

Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany 

Tel: +49 (89) 99143-0 

www.intel.de 

Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman

Chairperson of the Supervisory Board: Sonja Pierer

Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.