[PATCH v1 0/1] gdb: default 'id' to nullptr in 'ui_out_emit_type'

Stephan Rohr <[email protected]> Tue, 4 Aug 2026 13:37:50 +0000
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
From: "Rohr, Stephan" <[email protected]>

Hello,

this is v1 of the patch updating the 'ui_out_emit_type' ctor by defaulting
'id' to 'nullptr'.  Update all occurrences where 'ui_out_emit_type' is
used with 'id = NULL|nullptr'.

Feedback for v0 is available here:
https://sourceware.org/pipermail/gdb-patches/2026-August/229173.html

Thanks
Stephan

Nils-Christian Kempke (1):
  gdb: default 'id' to nullptr in 'ui_out_emit_type'

 gdb/ada-tasks.c         |  2 +-
 gdb/auto-load.c         |  2 +-
 gdb/breakpoint.c        |  2 +-
 gdb/corelow.c           |  2 +-
 gdb/disasm.c            |  2 +-
 gdb/frame-unwind.c      |  2 +-
 gdb/gdb_bfd.c           |  2 +-
 gdb/inferior.c          |  2 +-
 gdb/linux-fork.c        |  2 +-
 gdb/linux-tdep.c        |  4 ++--
 gdb/linux-thread-db.c   |  2 +-
 gdb/mi/mi-cmd-file.c    |  2 +-
 gdb/mi/mi-cmd-info.c    |  2 +-
 gdb/mi/mi-cmd-var.c     |  4 ++--
 gdb/mi/mi-interp.c      |  2 +-
 gdb/mi/mi-main.c        | 20 ++++++++++----------
 gdb/mi/mi-symbol-cmds.c | 12 ++++++------
 gdb/progspace.c         |  2 +-
 gdb/regcache.c          |  2 +-
 gdb/reggroups.c         |  2 +-
 gdb/stack.c             |  2 +-
 gdb/symmisc.c           |  2 +-
 gdb/symtab.c            |  2 +-
 gdb/target-connection.c |  2 +-
 gdb/thread.c            |  2 +-
 gdb/tui/tui-win.c       |  2 +-
 gdb/ui-out.h            |  2 +-
 gdb/user-regs.c         |  2 +-
 28 files changed, 44 insertions(+), 44 deletions(-)

-- 
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.