[v3,0/4] Add include guard checker and reformatter

Message ID 20240419-header-check-v3-0-2f2a837c2976@adacore.com
Headers
Series Add include guard checker and reformatter |

Message

Tom Tromey April 19, 2024, 2:55 p.m. UTC
  After the recent patch to fix an include guard misspelling, I thought
I'd write a script to automatically check this.  Then I realized I
could have the script fix up the sources; and finally I figured out
that it could be run from pre-commit.

This series is the result.  Regression tested on x86-64 Fedora 38.

---
Changes in v3:
- Trying again to address the reviews
- Link to v2: https://inbox.sourceware.org/gdb-patches/20240418-header-check-v2-0-725529851603@adacore.com

Changes in v2:
- Changed script to not emit errors when updating files
- Don't crash on empty headers
- Addressed Simon's review comments
- Link to v1: https://inbox.sourceware.org/gdb-patches/20240417-header-check-v1-0-a60f610f5bcc@adacore.com

---
Tom Tromey (4):
      Fix some minor header file irregularities
      Add an include-checking script
      Add check-include-guards.py to pre-commit
      Run check-include-guards.py

 .pre-commit-config.yaml                     |  10 +++
 gdb/aarch32-linux-nat.h                     |   6 +-
 gdb/aarch32-tdep.h                          |   6 +-
 gdb/aarch64-fbsd-tdep.h                     |   6 +-
 gdb/aarch64-linux-tdep.h                    |   6 +-
 gdb/aarch64-nat.h                           |   6 +-
 gdb/aarch64-ravenscar-thread.h              |   6 +-
 gdb/aarch64-tdep.h                          |   6 +-
 gdb/ada-exp.h                               |   6 +-
 gdb/ada-lang.h                              |   6 +-
 gdb/addrmap.h                               |   6 +-
 gdb/alpha-bsd-tdep.h                        |   6 +-
 gdb/alpha-tdep.h                            |   6 +-
 gdb/amd-dbgapi-target.h                     |   6 +-
 gdb/amd64-bsd-nat.h                         |   6 +-
 gdb/amd64-darwin-tdep.h                     |   6 +-
 gdb/amd64-fbsd-tdep.h                       |   6 +-
 gdb/amd64-linux-tdep.h                      |   6 +-
 gdb/amd64-nat.h                             |   6 +-
 gdb/amd64-ravenscar-thread.h                |   6 +-
 gdb/amd64-tdep.h                            |   6 +-
 gdb/amdgpu-tdep.h                           |   6 +-
 gdb/annotate.h                              |   6 +-
 gdb/arc-linux-tdep.h                        |   6 +-
 gdb/arc-tdep.h                              |   6 +-
 gdb/arch-utils.h                            |   6 +-
 gdb/arch/aarch32.h                          |   6 +-
 gdb/arch/aarch64-insn.h                     |   6 +-
 gdb/arch/aarch64-mte-linux.h                |   6 +-
 gdb/arch/aarch64-scalable-linux.h           |   6 +-
 gdb/arch/aarch64.h                          |   6 +-
 gdb/arch/amd64.h                            |   6 +-
 gdb/arch/arc.h                              |   6 +-
 gdb/arch/arm-get-next-pcs.h                 |   6 +-
 gdb/arch/arm-linux.h                        |   6 +-
 gdb/arch/arm.h                              |   6 +-
 gdb/arch/csky.h                             |   6 +-
 gdb/arch/i386.h                             |   6 +-
 gdb/arch/loongarch.h                        |   6 +-
 gdb/arch/ppc-linux-common.h                 |   6 +-
 gdb/arch/ppc-linux-tdesc.h                  |   6 +-
 gdb/arch/riscv.h                            |   6 +-
 gdb/arch/tic6x.h                            |   6 +-
 gdb/arch/xtensa.h                           |   6 +-
 gdb/arm-fbsd-tdep.h                         |   6 +-
 gdb/arm-linux-tdep.h                        |   6 +-
 gdb/arm-netbsd-tdep.h                       |   6 +-
 gdb/arm-tdep.h                              |   6 +-
 gdb/async-event.h                           |   6 +-
 gdb/auto-load.h                             |   6 +-
 gdb/auxv.h                                  |   6 +-
 gdb/ax-gdb.h                                |   6 +-
 gdb/ax.h                                    |   6 +-
 gdb/bcache.h                                |   6 +-
 gdb/bfd-target.h                            |   6 +-
 gdb/bfin-tdep.h                             |   6 +-
 gdb/block.h                                 |   6 +-
 gdb/breakpoint.h                            |   6 +-
 gdb/bsd-kvm.h                               |   6 +-
 gdb/bsd-uthread.h                           |   6 +-
 gdb/bt-utils.h                              |   6 +-
 gdb/btrace.h                                |   6 +-
 gdb/build-id.h                              |   6 +-
 gdb/buildsym-legacy.h                       |   6 +-
 gdb/buildsym.h                              |   6 +-
 gdb/c-exp.h                                 |   6 +-
 gdb/c-lang.h                                |   6 +-
 gdb/c-support.h                             |   6 +-
 gdb/cgen-remap.h                            |   6 +-
 gdb/charset-list.h                          |   6 +-
 gdb/charset.h                               |   6 +-
 gdb/check-include-guards.py                 | 110 ++++++++++++++++++++++++++++
 gdb/cli-out.h                               |   6 +-
 gdb/cli/cli-cmds.h                          |   6 +-
 gdb/cli/cli-decode.h                        |   6 +-
 gdb/cli/cli-interp.h                        |   6 +-
 gdb/cli/cli-option.h                        |   6 +-
 gdb/cli/cli-script.h                        |   6 +-
 gdb/cli/cli-setshow.h                       |   6 +-
 gdb/cli/cli-style.h                         |   6 +-
 gdb/cli/cli-utils.h                         |   6 +-
 gdb/coff-pe-read.h                          |   6 +-
 gdb/command.h                               |   6 +-
 gdb/compile/compile-c.h                     |   6 +-
 gdb/compile/compile-cplus.h                 |   6 +-
 gdb/compile/compile-internal.h              |   6 +-
 gdb/compile/compile-object-load.h           |   6 +-
 gdb/compile/compile-object-run.h            |   6 +-
 gdb/compile/compile.h                       |   6 +-
 gdb/compile/gcc-c-plugin.h                  |   6 +-
 gdb/compile/gcc-cp-plugin.h                 |   6 +-
 gdb/complaints.h                            |   6 +-
 gdb/completer.h                             |   6 +-
 gdb/config/nm-linux.h                       |   6 +-
 gdb/config/nm-nto.h                         |   6 +-
 gdb/cp-abi.h                                |   6 +-
 gdb/cp-support.h                            |   6 +-
 gdb/cris-tdep.h                             |   6 +-
 gdb/csky-tdep.h                             |   6 +-
 gdb/ctfread.h                               |   6 +-
 gdb/d-lang.h                                |   6 +-
 gdb/darwin-nat.h                            |   6 +-
 gdb/dcache.h                                |   6 +-
 gdb/debuginfod-support.h                    |   6 +-
 gdb/defs.h                                  |   6 +-
 gdb/dicos-tdep.h                            |   6 +-
 gdb/dictionary.h                            |   6 +-
 gdb/disasm-flags.h                          |   7 +-
 gdb/disasm.h                                |   6 +-
 gdb/displaced-stepping.h                    |   6 +-
 gdb/dummy-frame.h                           |   6 +-
 gdb/dwarf2/call-site.h                      |   6 +-
 gdb/dwarf2/comp-unit-head.h                 |   6 +-
 gdb/dwarf2/expr.h                           |   6 +-
 gdb/dwarf2/frame-tailcall.h                 |   6 +-
 gdb/dwarf2/frame.h                          |   6 +-
 gdb/dwarf2/index-cache.h                    |   6 +-
 gdb/dwarf2/index-common.h                   |   6 +-
 gdb/dwarf2/index-write.h                    |   6 +-
 gdb/dwarf2/line-header.h                    |   6 +-
 gdb/dwarf2/loc.h                            |   6 +-
 gdb/dwarf2/public.h                         |   6 +-
 gdb/dwarf2/read-debug-names.h               |   6 +-
 gdb/dwarf2/read-gdb-index.h                 |   6 +-
 gdb/dwarf2/read.h                           |   6 +-
 gdb/dwarf2/types.h                          |   6 +-
 gdb/elf-none-tdep.h                         |   6 +-
 gdb/event-top.h                             |   6 +-
 gdb/exceptions.h                            |   6 +-
 gdb/exec.h                                  |   6 +-
 gdb/expop.h                                 |   6 +-
 gdb/expression.h                            |   6 +-
 gdb/extension-priv.h                        |   6 +-
 gdb/extension.h                             |   6 +-
 gdb/f-array-walker.h                        |   6 +-
 gdb/f-exp.h                                 |   6 +-
 gdb/f-lang.h                                |   6 +-
 gdb/fbsd-nat.h                              |   6 +-
 gdb/fbsd-tdep.h                             |   6 +-
 gdb/filename-seen-cache.h                   |   6 +-
 gdb/filesystem.h                            |   6 +-
 gdb/frame-base.h                            |   6 +-
 gdb/frame-id.h                              |   4 +-
 gdb/frame-unwind.h                          |   6 +-
 gdb/frame.h                                 |   6 +-
 gdb/frv-tdep.h                              |   6 +-
 gdb/ft32-tdep.h                             |   6 +-
 gdb/gcore-elf.h                             |   6 +-
 gdb/gcore.h                                 |   6 +-
 gdb/gdb-demangle.h                          |   6 +-
 gdb/gdb-stabs.h                             |   6 +-
 gdb/gdb_bfd.h                               |   6 +-
 gdb/gdb_curses.h                            |   6 +-
 gdb/gdb_expat.h                             |   6 +-
 gdb/gdb_proc_service.h                      |   6 +-
 gdb/gdb_vfork.h                             |   6 +-
 gdb/gdb_wchar.h                             |   6 +-
 gdb/gdbarch.h                               |   6 +-
 gdb/gdbcmd.h                                |   6 +-
 gdb/gdbcore.h                               |   6 +-
 gdb/gdbthread.h                             |   6 +-
 gdb/gdbtypes.h                              |   7 +-
 gdb/glibc-tdep.h                            |   6 +-
 gdb/gmp-utils.h                             |   6 +-
 gdb/gnu-nat-mig.h                           |   6 +-
 gdb/gnu-nat.h                               |   6 +-
 gdb/go-lang.h                               |   6 +-
 gdb/gregset.h                               |   6 +-
 gdb/guile/guile-internal.h                  |   6 +-
 gdb/guile/guile.h                           |   6 +-
 gdb/hppa-bsd-tdep.h                         |   6 +-
 gdb/hppa-linux-offsets.h                    |   6 +-
 gdb/hppa-tdep.h                             |   6 +-
 gdb/i386-bsd-nat.h                          |   6 +-
 gdb/i386-darwin-tdep.h                      |   6 +-
 gdb/i386-fbsd-tdep.h                        |   6 +-
 gdb/i386-linux-nat.h                        |   6 +-
 gdb/i386-linux-tdep.h                       |   6 +-
 gdb/i386-tdep.h                             |   6 +-
 gdb/i387-tdep.h                             |   6 +-
 gdb/ia64-libunwind-tdep.h                   |   6 +-
 gdb/ia64-tdep.h                             |   6 +-
 gdb/inf-child.h                             |   6 +-
 gdb/inf-loop.h                              |   6 +-
 gdb/inf-ptrace.h                            |   6 +-
 gdb/infcall.h                               |   6 +-
 gdb/inferior-iter.h                         |   6 +-
 gdb/inferior.h                              |   6 +-
 gdb/infrun.h                                |   6 +-
 gdb/inline-frame.h                          |   6 +-
 gdb/interps.h                               |   6 +-
 gdb/jit.h                                   |   6 +-
 gdb/language.h                              |   6 +-
 gdb/linespec.h                              |   6 +-
 gdb/linux-fork.h                            |   6 +-
 gdb/linux-nat-trad.h                        |   6 +-
 gdb/linux-nat.h                             |   6 +-
 gdb/linux-record.h                          |   6 +-
 gdb/linux-tdep.h                            |   6 +-
 gdb/location.h                              |   6 +-
 gdb/loongarch-tdep.h                        |   6 +-
 gdb/m2-exp.h                                |   6 +-
 gdb/m2-lang.h                               |   6 +-
 gdb/m32r-tdep.h                             |   6 +-
 gdb/m68k-tdep.h                             |   6 +-
 gdb/macroexp.h                              |   6 +-
 gdb/macroscope.h                            |   6 +-
 gdb/macrotab.h                              |   6 +-
 gdb/main.h                                  |   6 +-
 gdb/maint.h                                 |   6 +-
 gdb/mdebugread.h                            |   6 +-
 gdb/memattr.h                               |   6 +-
 gdb/memory-map.h                            |   6 +-
 gdb/memrange.h                              |   6 +-
 gdb/memtag.h                                |   6 +-
 gdb/mi/mi-cmd-break.h                       |   6 +-
 gdb/mi/mi-cmds.h                            |   6 +-
 gdb/mi/mi-common.h                          |   6 +-
 gdb/mi/mi-console.h                         |   6 +-
 gdb/mi/mi-getopt.h                          |   6 +-
 gdb/mi/mi-interp.h                          |   6 +-
 gdb/mi/mi-main.h                            |   6 +-
 gdb/mi/mi-out.h                             |   6 +-
 gdb/mi/mi-parse.h                           |   6 +-
 gdb/microblaze-tdep.h                       |   6 +-
 gdb/minsyms.h                               |   6 +-
 gdb/mips-fbsd-tdep.h                        |   6 +-
 gdb/mips-linux-tdep.h                       |   6 +-
 gdb/mips-netbsd-tdep.h                      |   6 +-
 gdb/mips-tdep.h                             |   6 +-
 gdb/mn10300-tdep.h                          |   6 +-
 gdb/moxie-tdep.h                            |   6 +-
 gdb/namespace.h                             |   6 +-
 gdb/nat/aarch64-hw-point.h                  |   6 +-
 gdb/nat/aarch64-linux-hw-point.h            |   6 +-
 gdb/nat/aarch64-linux.h                     |   6 +-
 gdb/nat/aarch64-mte-linux-ptrace.h          |   6 +-
 gdb/nat/aarch64-scalable-linux-ptrace.h     |   6 +-
 gdb/nat/aarch64-scalable-linux-sigcontext.h |   6 +-
 gdb/nat/amd64-linux-siginfo.h               |   6 +-
 gdb/nat/fork-inferior.h                     |   6 +-
 gdb/nat/gdb_ptrace.h                        |   6 +-
 gdb/nat/gdb_thread_db.h                     |   6 +-
 gdb/nat/glibc_thread_db.h                   |   6 +-
 gdb/nat/linux-btrace.h                      |   6 +-
 gdb/nat/linux-namespaces.h                  |   6 +-
 gdb/nat/linux-nat.h                         |   6 +-
 gdb/nat/linux-osdata.h                      |   6 +-
 gdb/nat/linux-personality.h                 |   6 +-
 gdb/nat/linux-procfs.h                      |   6 +-
 gdb/nat/linux-ptrace.h                      |   6 +-
 gdb/nat/linux-waitpid.h                     |   6 +-
 gdb/nat/mips-linux-watch.h                  |   6 +-
 gdb/nat/netbsd-nat.h                        |   6 +-
 gdb/nat/ppc-linux.h                         |   6 +-
 gdb/nat/riscv-linux-tdesc.h                 |   6 +-
 gdb/nat/windows-nat.h                       |   6 +-
 gdb/nat/x86-cpuid.h                         |   6 +-
 gdb/nat/x86-dregs.h                         |   6 +-
 gdb/nat/x86-gcc-cpuid.h                     |   6 +-
 gdb/nat/x86-linux-dregs.h                   |   6 +-
 gdb/nat/x86-linux.h                         |   6 +-
 gdb/nat/x86-xstate.h                        |   6 +-
 gdb/nds32-tdep.h                            |   6 +-
 gdb/netbsd-nat.h                            |   6 +-
 gdb/netbsd-tdep.h                           |   6 +-
 gdb/nios2-tdep.h                            |   6 +-
 gdb/nto-tdep.h                              |   6 +-
 gdb/objc-lang.h                             |   6 +-
 gdb/objfile-flags.h                         |   6 +-
 gdb/objfiles.h                              |   6 +-
 gdb/obsd-nat.h                              |   6 +-
 gdb/obsd-tdep.h                             |   6 +-
 gdb/observable.h                            |   6 +-
 gdb/or1k-linux-tdep.h                       |   6 +-
 gdb/or1k-tdep.h                             |   6 +-
 gdb/osabi.h                                 |   6 +-
 gdb/osdata.h                                |   6 +-
 gdb/p-lang.h                                |   6 +-
 gdb/parser-defs.h                           |   7 +-
 gdb/ppc-fbsd-tdep.h                         |   6 +-
 gdb/ppc-linux-tdep.h                        |   6 +-
 gdb/ppc-netbsd-tdep.h                       |   6 +-
 gdb/ppc-obsd-tdep.h                         |   6 +-
 gdb/ppc-ravenscar-thread.h                  |   6 +-
 gdb/ppc-tdep.h                              |   6 +-
 gdb/ppc64-tdep.h                            |   6 +-
 gdb/probe.h                                 |   6 +-
 gdb/proc-utils.h                            |   6 +-
 gdb/process-stratum-target.h                |   6 +-
 gdb/procfs.h                                |   6 +-
 gdb/producer.h                              |   6 +-
 gdb/progspace-and-thread.h                  |   6 +-
 gdb/progspace.h                             |   6 +-
 gdb/prologue-value.h                        |   6 +-
 gdb/psymtab.h                               |   6 +-
 gdb/python/py-event.h                       |   6 +-
 gdb/python/py-events.h                      |   6 +-
 gdb/python/py-instruction.h                 |   6 +-
 gdb/python/py-record-btrace.h               |   6 +-
 gdb/python/py-record-full.h                 |   6 +-
 gdb/python/py-record.h                      |   6 +-
 gdb/python/py-ref.h                         |   6 +-
 gdb/python/py-stopevent.h                   |   6 +-
 gdb/python/python-internal.h                |   6 +-
 gdb/python/python.h                         |   6 +-
 gdb/ravenscar-thread.h                      |   6 +-
 gdb/record-btrace.h                         |   6 +-
 gdb/record-full.h                           |   6 +-
 gdb/record.h                                |   6 +-
 gdb/regcache.h                              |   6 +-
 gdb/regformats/regdef.h                     |   6 +-
 gdb/reggroups.h                             |   6 +-
 gdb/registry.h                              |   6 +-
 gdb/regset.h                                |   6 +-
 gdb/remote-fileio.h                         |   6 +-
 gdb/remote-notif.h                          |   6 +-
 gdb/remote.h                                |   6 +-
 gdb/riscv-fbsd-tdep.h                       |   6 +-
 gdb/riscv-ravenscar-thread.h                |   6 +-
 gdb/riscv-tdep.h                            |   6 +-
 gdb/rs6000-aix-tdep.h                       |   6 +-
 gdb/rust-exp.h                              |   6 +-
 gdb/rust-lang.h                             |   6 +-
 gdb/s390-linux-tdep.h                       |   6 +-
 gdb/s390-tdep.h                             |   6 +-
 gdb/scoped-mock-context.h                   |   6 +-
 gdb/selftest-arch.h                         |   6 +-
 gdb/sentinel-frame.h                        |   6 +-
 gdb/ser-base.h                              |   6 +-
 gdb/ser-event.h                             |   6 +-
 gdb/ser-tcp.h                               |   6 +-
 gdb/ser-unix.h                              |   6 +-
 gdb/serial.h                                |   6 +-
 gdb/sh-tdep.h                               |   6 +-
 gdb/sim-regno.h                             |   6 +-
 gdb/skip.h                                  |   6 +-
 gdb/sol2-tdep.h                             |   6 +-
 gdb/solib-aix.h                             |   6 +-
 gdb/solib-darwin.h                          |   6 +-
 gdb/solib-dsbt.h                            |   6 +-
 gdb/solib-svr4.h                            |   6 +-
 gdb/solib-target.h                          |   6 +-
 gdb/solib.h                                 |   6 +-
 gdb/solist.h                                |   6 +-
 gdb/source-cache.h                          |   6 +-
 gdb/source.h                                |   6 +-
 gdb/sparc-nat.h                             |   6 +-
 gdb/sparc-ravenscar-thread.h                |   6 +-
 gdb/sparc-tdep.h                            |   6 +-
 gdb/sparc64-tdep.h                          |   6 +-
 gdb/stabsread.h                             |   6 +-
 gdb/stack.h                                 |   6 +-
 gdb/stap-probe.h                            |   6 +-
 gdb/symfile-add-flags.h                     |   6 +-
 gdb/symfile.h                               |   6 +-
 gdb/symtab.h                                |   6 +-
 gdb/target-connection.h                     |   6 +-
 gdb/target-dcache.h                         |   6 +-
 gdb/target-debug.h                          |   6 +-
 gdb/target-descriptions.h                   |   6 +-
 gdb/target-float.h                          |   6 +-
 gdb/target.h                                |   6 +-
 gdb/target/resume.h                         |   6 +-
 gdb/target/target.h                         |   6 +-
 gdb/target/wait.h                           |   6 +-
 gdb/target/waitstatus.h                     |   6 +-
 gdb/terminal.h                              |   6 +-
 gdb/test-target.h                           |   6 +-
 gdb/thread-fsm.h                            |   6 +-
 gdb/thread-iter.h                           |   6 +-
 gdb/tic6x-tdep.h                            |   6 +-
 gdb/tid-parse.h                             |   6 +-
 gdb/tilegx-tdep.h                           |   6 +-
 gdb/top.h                                   |   6 +-
 gdb/tracectf.h                              |   6 +-
 gdb/tracefile.h                             |  24 +++++-
 gdb/tracepoint.h                            |   6 +-
 gdb/trad-frame.h                            |   6 +-
 gdb/tramp-frame.h                           |   6 +-
 gdb/tui/tui-command.h                       |   6 +-
 gdb/tui/tui-data.h                          |   6 +-
 gdb/tui/tui-disasm.h                        |   6 +-
 gdb/tui/tui-file.h                          |   6 +-
 gdb/tui/tui-hooks.h                         |   6 +-
 gdb/tui/tui-io.h                            |   6 +-
 gdb/tui/tui-layout.h                        |   6 +-
 gdb/tui/tui-location.h                      |   6 +-
 gdb/tui/tui-regs.h                          |   6 +-
 gdb/tui/tui-source.h                        |   6 +-
 gdb/tui/tui-status.h                        |   6 +-
 gdb/tui/tui-win.h                           |   6 +-
 gdb/tui/tui-wingeneral.h                    |   6 +-
 gdb/tui/tui-winsource.h                     |   6 +-
 gdb/tui/tui.h                               |   6 +-
 gdb/type-stack.h                            |   6 +-
 gdb/typeprint.h                             |   6 +-
 gdb/ui-file.h                               |   6 +-
 gdb/ui-out.h                                |   6 +-
 gdb/ui-style.h                              |   6 +-
 gdb/ui.h                                    |   6 +-
 gdb/user-regs.h                             |   6 +-
 gdb/utils.h                                 |   6 +-
 gdb/valprint.h                              |   6 +-
 gdb/value.h                                 |   6 +-
 gdb/varobj-iter.h                           |   6 +-
 gdb/varobj.h                                |   6 +-
 gdb/vax-tdep.h                              |   6 +-
 gdb/windows-nat.h                           |   7 +-
 gdb/windows-tdep.h                          |   6 +-
 gdb/x86-bsd-nat.h                           |   6 +-
 gdb/x86-fbsd-nat.h                          |   6 +-
 gdb/x86-linux-nat.h                         |   6 +-
 gdb/x86-nat.h                               |   6 +-
 gdb/x86-tdep.h                              |   6 +-
 gdb/xcoffread.h                             |   6 +-
 gdb/xml-builtin.h                           |   6 +-
 gdb/xml-support.h                           |   6 +-
 gdb/xml-syscall.h                           |   6 +-
 gdb/xml-tdesc.h                             |   7 +-
 gdb/xtensa-tdep.h                           |   6 +-
 gdb/yy-remap.h                              |   6 +-
 gdb/z80-tdep.h                              |   6 +-
 gdbserver/linux-aarch32-tdesc.h             |   2 +-
 gdbserver/linux-arm-tdesc.h                 |   2 +-
 gdbsupport/agent.h                          |   6 +-
 gdbsupport/array-view.h                     |   6 +-
 gdbsupport/break-common.h                   |   6 +-
 gdbsupport/btrace-common.h                  |   6 +-
 gdbsupport/byte-vector.h                    |   6 +-
 gdbsupport/cleanups.h                       |   6 +-
 gdbsupport/common-debug.h                   |   6 +-
 gdbsupport/common-defs.h                    |   6 +-
 gdbsupport/common-exceptions.h              |   6 +-
 gdbsupport/common-gdbthread.h               |   6 +-
 gdbsupport/common-inferior.h                |   6 +-
 gdbsupport/common-regcache.h                |   6 +-
 gdbsupport/common-types.h                   |   6 +-
 gdbsupport/common-utils.h                   |   6 +-
 gdbsupport/def-vector.h                     |   6 +-
 gdbsupport/default-init-alloc.h             |   6 +-
 gdbsupport/enum-flags.h                     |   6 +-
 gdbsupport/environ.h                        |   6 +-
 gdbsupport/errors.h                         |   6 +-
 gdbsupport/event-loop.h                     |   6 +-
 gdbsupport/event-pipe.h                     |   6 +-
 gdbsupport/fileio.h                         |   6 +-
 gdbsupport/filestuff.h                      |   6 +-
 gdbsupport/filtered-iterator.h              |   6 +-
 gdbsupport/format.h                         |   6 +-
 gdbsupport/forward-scope-exit.h             |   6 +-
 gdbsupport/function-view.h                  |   6 +-
 gdbsupport/gdb-checked-static-cast.h        |   6 +-
 gdbsupport/gdb-dlfcn.h                      |   6 +-
 gdbsupport/gdb-safe-ctype.h                 |   6 +-
 gdbsupport/gdb_assert.h                     |   6 +-
 gdbsupport/gdb_file.h                       |   6 +-
 gdbsupport/gdb_locale.h                     |   6 +-
 gdbsupport/gdb_obstack.h                    |   6 +-
 gdbsupport/gdb_proc_service.h               |   6 +-
 gdbsupport/gdb_ref_ptr.h                    |   6 +-
 gdbsupport/gdb_regex.h                      |   6 +-
 gdbsupport/gdb_select.h                     |   6 +-
 gdbsupport/gdb_setjmp.h                     |   6 +-
 gdbsupport/gdb_signals.h                    |   6 +-
 gdbsupport/gdb_splay_tree.h                 |   6 +-
 gdbsupport/gdb_sys_time.h                   |   6 +-
 gdbsupport/gdb_tilde_expand.h               |   6 +-
 gdbsupport/gdb_unique_ptr.h                 |   6 +-
 gdbsupport/gdb_unlinker.h                   |   6 +-
 gdbsupport/gdb_vecs.h                       |   6 +-
 gdbsupport/gdb_wait.h                       |   6 +-
 gdbsupport/hash_enum.h                      |   6 +-
 gdbsupport/host-defs.h                      |   6 +-
 gdbsupport/job-control.h                    |   6 +-
 gdbsupport/netstuff.h                       |   6 +-
 gdbsupport/next-iterator.h                  |   6 +-
 gdbsupport/observable.h                     |   6 +-
 gdbsupport/offset-type.h                    |   6 +-
 gdbsupport/packed.h                         |   6 +-
 gdbsupport/pathstuff.h                      |   6 +-
 gdbsupport/poison.h                         |   6 +-
 gdbsupport/preprocessor.h                   |   6 +-
 gdbsupport/print-utils.h                    |   6 +-
 gdbsupport/ptid.h                           |   6 +-
 gdbsupport/refcounted-object.h              |   6 +-
 gdbsupport/rsp-low.h                        |   6 +-
 gdbsupport/run-time-clock.h                 |   6 +-
 gdbsupport/safe-iterator.h                  |   6 +-
 gdbsupport/scope-exit.h                     |   6 +-
 gdbsupport/scoped_fd.h                      |   6 +-
 gdbsupport/scoped_ignore_signal.h           |   6 +-
 gdbsupport/scoped_ignore_sigttou.h          |   6 +-
 gdbsupport/scoped_mmap.h                    |   6 +-
 gdbsupport/scoped_restore.h                 |   6 +-
 gdbsupport/search.h                         |   6 +-
 gdbsupport/selftest.h                       |   6 +-
 gdbsupport/signals-state-save-restore.h     |   6 +-
 gdbsupport/symbol.h                         |   6 +-
 gdbsupport/tdesc.h                          |   6 +-
 gdbsupport/traits.h                         |   6 +-
 gdbsupport/underlying.h                     |   6 +-
 gdbsupport/valid-expr.h                     |   6 +-
 gdbsupport/version.h                        |   6 +-
 gdbsupport/x86-xstate.h                     |   6 +-
 gdbsupport/xml-utils.h                      |   6 +-
 506 files changed, 1645 insertions(+), 1512 deletions(-)
---
base-commit: 0e6747d2a638693ad2f20e7929c8364913c87279
change-id: 20240417-header-check-70c1b75fc2cf

Best regards,