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: [PATCH 00/12] [gdb] Use using instead of typedef some more
Date: Tue, 16 Jun 2026 08:22:45 +0200	[thread overview]
Message-ID: <20260616062257.3164438-1-tdevries@suse.de> (raw)

This series replaces typedefs with using some more.

There is a number of patches which have been generated by a script written by
Claude Code.  Note that this doesn't mean that the patches themselves have
been written by Claude Code.

My understanding is that because the tranformation done by the script is a
trivial and mechanical transformation, there are no copyright/licensing issues.

Tested on x86_64-linux and aarch64-linux.

Tom de Vries (12):
  [gdb] Use using instead of typedef some more (part 1)
  [gdb] Use using instead of typedef some more (part 2)
  [gdb] Use using instead of typedef some more (part 3)
  [gdb] Convert function pointer typedefs to using
  [gdb] Convert template typedefs to using
  [gdb] Convert function typedefs to using
  [gdb] Fix redundant struct typedefs
  [gdb] Convert anonymous struct typedefs
  [gdb] Convert typedef of named struct
  [gdb] convert struct pointer typedefs
  [gdb] Convert typedef on separate line
  [gdb] Use using in compat_x32_clock_t typedef

 gdb/ada-exp.h                           |  8 +--
 gdb/ada-lang.c                          |  2 +-
 gdb/ada-lang.h                          |  4 +-
 gdb/arc-linux-tdep.c                    |  2 +-
 gdb/arch/xtensa.h                       |  4 +-
 gdb/arm-linux-nat.c                     |  4 +-
 gdb/arm-tdep.c                          |  2 +-
 gdb/async-event.h                       |  4 +-
 gdb/breakpoint.h                        |  4 +-
 gdb/cli/cli-option.h                    |  2 +-
 gdb/command.h                           | 20 +++---
 gdb/compile/compile-c-support.c         | 20 +++---
 gdb/completer.c                         |  2 +-
 gdb/completer.h                         | 14 ++--
 gdb/cp-support.h                        |  2 +-
 gdb/cris-tdep.c                         | 11 ++-
 gdb/dcache.c                            |  2 +-
 gdb/dummy-frame.h                       |  2 +-
 gdb/dwarf2/cooked-index-shard.h         |  4 +-
 gdb/dwarf2/frame.c                      |  2 +-
 gdb/dwarf2/frame.h                      |  4 +-
 gdb/dwarf2/read-gdb-index.h             | 11 ++-
 gdb/event-top.h                         |  4 +-
 gdb/expop.h                             | 18 ++---
 gdb/extension.h                         | 14 ++--
 gdb/f-exp.h                             | 12 ++--
 gdb/fbsd-nat.c                          |  2 +-
 gdb/frame-base.h                        | 14 ++--
 gdb/frame-unwind.h                      | 21 +++---
 gdb/frv-linux-tdep.c                    | 10 +--
 gdb/gdbarch.h                           | 12 ++--
 gdb/gdbtypes.c                          |  4 +-
 gdb/gnu-nat.h                           |  2 +-
 gdb/go32-nat.c                          | 16 ++---
 gdb/guile/guile-internal.h              |  4 +-
 gdb/guile/scm-breakpoint.c              |  4 +-
 gdb/i386-sol2-nat.c                     |  2 +-
 gdb/ia64-libunwind-tdep.c               | 34 ++++-----
 gdb/inferior.h                          | 10 +--
 gdb/infrun.c                            |  4 +-
 gdb/interps.h                           |  2 +-
 gdb/jit.c                               |  2 +-
 gdb/language.h                          |  2 +-
 gdb/linux-tdep.c                        |  4 +-
 gdb/m32c-tdep.c                         | 12 ++--
 gdb/macrotab.h                          |  8 +--
 gdb/main.c                              |  2 +-
 gdb/mi/mi-cmds.h                        |  4 +-
 gdb/mi/mi-symbol-cmds.c                 |  4 +-
 gdb/mips-linux-tdep.h                   | 16 ++---
 gdb/mn10300-linux-tdep.c                | 10 +--
 gdb/nat/aarch64-linux.h                 |  8 +--
 gdb/nat/amd64-linux-siginfo.c           |  2 +-
 gdb/nat/gdb_thread_db.h                 | 60 ++++++++--------
 gdb/nat/glibc_thread_db.h               | 52 +++++++-------
 gdb/nat/linux-procfs.h                  |  2 +-
 gdb/ppc-linux-nat.c                     |  4 +-
 gdb/procfs.c                            |  4 +-
 gdb/registry.h                          |  2 +-
 gdb/regset.h                            | 10 +--
 gdb/remote.c                            |  4 +-
 gdb/rs6000-tdep.c                       |  8 +--
 gdb/selftest-arch.h                     |  2 +-
 gdb/ser-go32.c                          |  2 +-
 gdb/serial.h                            |  2 +-
 gdb/sol-thread.c                        | 94 ++++++++++++-------------
 gdb/solib-dsbt.c                        |  8 +--
 gdb/solib-frv.c                         |  8 +--
 gdb/stack.h                             |  4 +-
 gdb/stap-probe.c                        |  2 +-
 gdb/stubs/m68k-stub.c                   |  8 +--
 gdb/stubs/sh-stub.c                     | 12 ++--
 gdb/svr4-tls-tdep.h                     | 12 ++--
 gdb/symtab.h                            |  7 +-
 gdb/target-descriptions.h               | 10 +--
 gdb/target.h                            |  7 +-
 gdb/tracefile.c                         |  4 +-
 gdb/tui/tui-layout.h                    |  2 +-
 gdb/tui/tui-winsource.h                 |  2 +-
 gdb/unittests/function-view-selftests.c |  2 +-
 gdb/windows-nat.h                       |  2 +-
 gdb/windows-tdep.c                      | 10 ++-
 gdb/xml-support.h                       | 12 ++--
 gdb/xtensa-tdep.c                       | 16 ++---
 gdb/xtensa-tdep.h                       | 12 ++--
 gdb/xtensa-xtregs.c                     |  4 +-
 gdbserver/linux-arm-low.cc              |  4 +-
 gdbserver/linux-low.cc                  |  8 +--
 gdbserver/linux-low.h                   |  4 +-
 gdbserver/netbsd-low.cc                 | 12 ++--
 gdbserver/notif.h                       |  5 +-
 gdbserver/server.cc                     |  4 +-
 gdbserver/tracepoint.cc                 | 16 ++---
 gdbserver/xtensa-xtregs.cc              |  4 +-
 gdbsupport/common-exceptions.h          |  4 +-
 gdbsupport/event-loop.h                 |  4 +-
 gdbsupport/fileio.h                     | 12 ++--
 gdbsupport/gdb_proc_service.h           |  4 +-
 gdbsupport/gdb_splay_tree.h             |  4 +-
 gdbsupport/search.h                     |  2 +-
 100 files changed, 432 insertions(+), 438 deletions(-)


base-commit: dcca095929a12ac590c62ff3ea680154b7f44705
-- 
2.51.0


             reply	other threads:[~2026-06-16  6:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16  6:22 Tom de Vries [this message]
2026-06-16  6:22 ` [PATCH 01/12] [gdb] Use using instead of typedef some more (part 1) Tom de Vries
2026-06-26 15:40   ` Tom Tromey
2026-06-16  6:22 ` [PATCH 02/12] [gdb] Use using instead of typedef some more (part 2) Tom de Vries
2026-06-16  6:22 ` [PATCH 03/12] [gdb] Use using instead of typedef some more (part 3) Tom de Vries
2026-06-26 15:49   ` Tom Tromey
2026-06-16  6:22 ` [PATCH 04/12] [gdb] Convert function pointer typedefs to using Tom de Vries
2026-06-16  6:22 ` [PATCH 05/12] [gdb] Convert template " Tom de Vries
2026-06-16  6:22 ` [PATCH 06/12] [gdb] Convert function " Tom de Vries
2026-06-16  6:22 ` [PATCH 07/12] [gdb] Fix redundant struct typedefs Tom de Vries
2026-06-16  6:22 ` [PATCH 08/12] [gdb] Convert anonymous " Tom de Vries
2026-06-16  6:22 ` [PATCH 09/12] [gdb] Convert typedef of named struct Tom de Vries
2026-06-26 16:04   ` Tom Tromey
2026-06-16  6:22 ` [PATCH 10/12] [gdb] convert struct pointer typedefs Tom de Vries
2026-06-16  6:22 ` [PATCH 11/12] [gdb] Convert typedef on separate line Tom de Vries
2026-06-16  6:22 ` [PATCH 12/12] [gdb] Use using in compat_x32_clock_t typedef Tom de Vries
2026-06-26 16:05 ` [PATCH 00/12] [gdb] Use using instead of typedef some more Tom Tromey
2026-07-13 13:07   ` Tom de Vries

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=20260616062257.3164438-1-tdevries@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