[v3,0/4] Include early include files with `-include`

Message ID 20240326190806.89541-1-simon.marchi@efficios.com
Headers
Series Include early include files with `-include` |

Message

Simon Marchi March 26, 2024, 7:06 p.m. UTC
  This is v3 of:

https://inbox.sourceware.org/gdb-patches/20240323021648.154109-1-simon.marchi@efficios.com/T/#t

The only change in v3 concerns gdbreplay.  In patch 3, use `-include
gdbsupport/common-defs.h` when building `gdbreplay.o`.  In patch 4,
remove the corresponding #include in `gdbreplay.cc`.

Simon Marchi (4):
  gdb, gdbserver, gdbsupport: reformat some Makefile variables, one
    entry per line
  {gdb,gdbserver}/Makefile.in: remove unnecessary intermediary variables
  gdb, gdbserver, gdbsupport: include early header files with `-include`
  gdb, gdbserver, gdbsupport: remove includes of early headers

 gdb/Makefile.in                               | 50 +++++++++++-----
 gdb/aarch32-linux-nat.c                       |  1 -
 gdb/aarch32-tdep.c                            |  2 -
 gdb/aarch64-fbsd-nat.c                        |  1 -
 gdb/aarch64-fbsd-tdep.c                       |  1 -
 gdb/aarch64-linux-nat.c                       |  1 -
 gdb/aarch64-linux-tdep.c                      |  1 -
 gdb/aarch64-nat.c                             |  1 -
 gdb/aarch64-newlib-tdep.c                     |  1 -
 gdb/aarch64-ravenscar-thread.c                |  1 -
 gdb/aarch64-tdep.c                            |  1 -
 gdb/ada-exp.y                                 |  1 -
 gdb/ada-lang.c                                |  1 -
 gdb/ada-tasks.c                               |  1 -
 gdb/ada-typeprint.c                           |  1 -
 gdb/ada-valprint.c                            |  1 -
 gdb/ada-varobj.c                              |  1 -
 gdb/addrmap.c                                 |  1 -
 gdb/agent.c                                   |  1 -
 gdb/aix-thread.c                              |  1 -
 gdb/alloc.c                                   |  7 +--
 gdb/alpha-bsd-nat.c                           |  1 -
 gdb/alpha-bsd-tdep.c                          |  1 -
 gdb/alpha-linux-nat.c                         |  1 -
 gdb/alpha-linux-tdep.c                        |  1 -
 gdb/alpha-mdebug-tdep.c                       |  1 -
 gdb/alpha-netbsd-tdep.c                       |  1 -
 gdb/alpha-obsd-tdep.c                         |  1 -
 gdb/alpha-tdep.c                              |  1 -
 gdb/amd-dbgapi-target.c                       |  1 -
 gdb/amd64-bsd-nat.c                           |  1 -
 gdb/amd64-darwin-tdep.c                       |  1 -
 gdb/amd64-dicos-tdep.c                        |  1 -
 gdb/amd64-fbsd-nat.c                          |  1 -
 gdb/amd64-fbsd-tdep.c                         |  1 -
 gdb/amd64-linux-nat.c                         |  1 -
 gdb/amd64-linux-tdep.c                        |  1 -
 gdb/amd64-nat.c                               |  1 -
 gdb/amd64-netbsd-nat.c                        |  1 -
 gdb/amd64-netbsd-tdep.c                       |  1 -
 gdb/amd64-obsd-nat.c                          |  1 -
 gdb/amd64-obsd-tdep.c                         |  1 -
 gdb/amd64-ravenscar-thread.c                  |  1 -
 gdb/amd64-sol2-tdep.c                         |  1 -
 gdb/amd64-tdep.c                              |  1 -
 gdb/amd64-windows-nat.c                       |  1 -
 gdb/amd64-windows-tdep.c                      |  1 -
 gdb/amdgpu-tdep.c                             |  1 -
 gdb/annotate.c                                |  1 -
 gdb/arc-linux-nat.c                           |  1 -
 gdb/arc-linux-tdep.c                          |  1 -
 gdb/arc-newlib-tdep.c                         |  1 -
 gdb/arc-tdep.c                                |  1 -
 gdb/arch-utils.c                              |  1 -
 gdb/arch/aarch32.c                            |  1 -
 gdb/arch/aarch64-insn.c                       |  1 -
 gdb/arch/aarch64-mte-linux.h                  |  1 -
 gdb/arch/aarch64-scalable-linux.h             |  1 -
 gdb/arch/aarch64.c                            |  1 -
 gdb/arch/amd64.c                              |  1 -
 gdb/arch/arc.c                                |  1 -
 gdb/arch/arm-get-next-pcs.c                   |  1 -
 gdb/arch/arm-linux.c                          |  1 -
 gdb/arch/arm.c                                |  1 -
 gdb/arch/csky.c                               |  1 -
 gdb/arch/i386.c                               |  1 -
 gdb/arch/loongarch.c                          |  1 -
 gdb/arch/ppc-linux-common.c                   |  1 -
 gdb/arch/riscv.c                              |  1 -
 gdb/arch/tic6x.c                              |  1 -
 gdb/arm-bsd-tdep.c                            |  1 -
 gdb/arm-fbsd-nat.c                            |  1 -
 gdb/arm-fbsd-tdep.c                           |  1 -
 gdb/arm-linux-nat.c                           |  1 -
 gdb/arm-linux-tdep.c                          |  1 -
 gdb/arm-netbsd-nat.c                          |  1 -
 gdb/arm-netbsd-tdep.c                         |  1 -
 gdb/arm-none-tdep.c                           |  1 -
 gdb/arm-obsd-tdep.c                           |  1 -
 gdb/arm-pikeos-tdep.c                         |  1 -
 gdb/arm-tdep.c                                |  1 -
 gdb/arm-wince-tdep.c                          |  1 -
 gdb/async-event.c                             |  1 -
 gdb/auto-load.c                               |  1 -
 gdb/auxv.c                                    |  1 -
 gdb/avr-tdep.c                                |  1 -
 gdb/ax-gdb.c                                  |  1 -
 gdb/ax-general.c                              |  1 -
 gdb/bcache.c                                  |  1 -
 gdb/bfd-target.c                              |  1 -
 gdb/bfin-linux-tdep.c                         |  1 -
 gdb/bfin-tdep.c                               |  1 -
 gdb/block.c                                   |  1 -
 gdb/blockframe.c                              |  1 -
 gdb/bpf-tdep.c                                |  1 -
 gdb/break-catch-exec.c                        |  1 -
 gdb/break-catch-fork.c                        |  1 -
 gdb/break-catch-load.c                        |  1 -
 gdb/break-catch-sig.c                         |  1 -
 gdb/break-catch-syscall.c                     |  1 -
 gdb/break-catch-throw.c                       |  1 -
 gdb/breakpoint.c                              |  1 -
 gdb/bsd-kvm.c                                 |  1 -
 gdb/bsd-uthread.c                             |  1 -
 gdb/bt-utils.c                                |  1 -
 gdb/btrace.c                                  |  1 -
 gdb/build-id.c                                |  1 -
 gdb/buildsym-legacy.c                         |  1 -
 gdb/buildsym.c                                |  1 -
 gdb/c-exp.y                                   |  1 -
 gdb/c-lang.c                                  |  1 -
 gdb/c-typeprint.c                             |  1 -
 gdb/c-valprint.c                              |  1 -
 gdb/c-varobj.c                                |  1 -
 gdb/charset.c                                 |  1 -
 gdb/cli-out.c                                 |  1 -
 gdb/cli/cli-cmds.c                            |  1 -
 gdb/cli/cli-decode.c                          |  1 -
 gdb/cli/cli-dump.c                            |  1 -
 gdb/cli/cli-interp.c                          |  1 -
 gdb/cli/cli-logging.c                         |  1 -
 gdb/cli/cli-option.c                          |  1 -
 gdb/cli/cli-script.c                          |  1 -
 gdb/cli/cli-setshow.c                         |  1 -
 gdb/cli/cli-style.c                           |  1 -
 gdb/cli/cli-utils.c                           |  1 -
 gdb/coff-pe-read.c                            |  1 -
 gdb/coffread.c                                |  1 -
 gdb/compile/compile-c-support.c               |  1 -
 gdb/compile/compile-c-symbols.c               |  1 -
 gdb/compile/compile-c-types.c                 |  1 -
 gdb/compile/compile-cplus-symbols.c           |  1 -
 gdb/compile/compile-cplus-types.c             |  1 -
 gdb/compile/compile-loc2c.c                   |  1 -
 gdb/compile/compile-object-load.c             |  1 -
 gdb/compile/compile-object-run.c              |  1 -
 gdb/compile/compile.c                         |  1 -
 gdb/complaints.c                              |  1 -
 gdb/completer.c                               |  1 -
 gdb/copying.awk                               |  1 -
 gdb/copying.c                                 |  1 -
 gdb/corefile.c                                |  1 -
 gdb/corelow.c                                 |  1 -
 gdb/cp-abi.c                                  |  1 -
 gdb/cp-name-parser.y                          |  1 -
 gdb/cp-namespace.c                            |  1 -
 gdb/cp-support.c                              |  1 -
 gdb/cp-valprint.c                             |  1 -
 gdb/cris-linux-tdep.c                         |  1 -
 gdb/cris-tdep.c                               |  1 -
 gdb/csky-linux-tdep.c                         |  1 -
 gdb/csky-tdep.c                               |  1 -
 gdb/ctfread.c                                 |  1 -
 gdb/d-exp.y                                   |  1 -
 gdb/d-lang.c                                  |  1 -
 gdb/d-namespace.c                             |  1 -
 gdb/d-valprint.c                              |  1 -
 gdb/darwin-nat-info.c                         |  1 -
 gdb/darwin-nat.c                              |  1 -
 gdb/dbxread.c                                 |  1 -
 gdb/dcache.c                                  |  1 -
 gdb/debug.c                                   |  1 -
 gdb/debuginfod-support.c                      |  1 -
 gdb/dicos-tdep.c                              |  1 -
 gdb/dictionary.c                              |  1 -
 gdb/disasm-selftests.c                        |  1 -
 gdb/disasm.c                                  |  1 -
 gdb/displaced-stepping.c                      |  1 -
 gdb/dtrace-probe.c                            |  1 -
 gdb/dummy-frame.c                             |  1 -
 gdb/dwarf2/abbrev-cache.c                     |  1 -
 gdb/dwarf2/abbrev.c                           |  1 -
 gdb/dwarf2/ada-imported.c                     |  1 -
 gdb/dwarf2/aranges.c                          |  1 -
 gdb/dwarf2/attribute.c                        |  1 -
 gdb/dwarf2/comp-unit-head.c                   |  1 -
 gdb/dwarf2/cooked-index.c                     |  1 -
 gdb/dwarf2/cu.c                               |  1 -
 gdb/dwarf2/die.c                              |  1 -
 gdb/dwarf2/dwz.c                              |  1 -
 gdb/dwarf2/expr.c                             |  1 -
 gdb/dwarf2/frame-tailcall.c                   |  1 -
 gdb/dwarf2/frame.c                            |  1 -
 gdb/dwarf2/index-cache.c                      |  1 -
 gdb/dwarf2/index-common.c                     |  1 -
 gdb/dwarf2/index-write.c                      |  1 -
 gdb/dwarf2/leb.c                              |  1 -
 gdb/dwarf2/line-header.c                      |  1 -
 gdb/dwarf2/loc.c                              |  1 -
 gdb/dwarf2/macro.c                            |  1 -
 gdb/dwarf2/read-debug-names.c                 |  1 -
 gdb/dwarf2/read-gdb-index.c                   |  1 -
 gdb/dwarf2/read.c                             |  1 -
 gdb/dwarf2/section.c                          |  1 -
 gdb/dwarf2/stringify.c                        |  1 -
 gdb/elf-none-tdep.c                           |  1 -
 gdb/elfread.c                                 |  1 -
 gdb/eval.c                                    |  1 -
 gdb/event-top.c                               |  1 -
 gdb/exceptions.c                              |  1 -
 gdb/exec.c                                    |  1 -
 gdb/expprint.c                                |  1 -
 gdb/extension.c                               |  1 -
 gdb/f-array-walker.h                          |  1 -
 gdb/f-exp.y                                   |  1 -
 gdb/f-lang.c                                  |  1 -
 gdb/f-typeprint.c                             |  1 -
 gdb/f-valprint.c                              |  1 -
 gdb/fbsd-nat.c                                |  1 -
 gdb/fbsd-tdep.c                               |  1 -
 gdb/features/microblaze-with-stack-protect.c  |  1 -
 gdb/features/microblaze.c                     |  1 -
 gdb/features/mips-dsp-linux.c                 |  1 -
 gdb/features/mips-linux.c                     |  1 -
 gdb/features/mips64-dsp-linux.c               |  1 -
 gdb/features/mips64-linux.c                   |  1 -
 gdb/features/nds32.c                          |  1 -
 gdb/features/nios2.c                          |  1 -
 gdb/features/or1k-linux.c                     |  1 -
 gdb/features/or1k.c                           |  1 -
 gdb/features/rs6000/powerpc-32.c              |  1 -
 gdb/features/rs6000/powerpc-32l.c             |  1 -
 gdb/features/rs6000/powerpc-403.c             |  1 -
 gdb/features/rs6000/powerpc-403gc.c           |  1 -
 gdb/features/rs6000/powerpc-405.c             |  1 -
 gdb/features/rs6000/powerpc-505.c             |  1 -
 gdb/features/rs6000/powerpc-601.c             |  1 -
 gdb/features/rs6000/powerpc-602.c             |  1 -
 gdb/features/rs6000/powerpc-603.c             |  1 -
 gdb/features/rs6000/powerpc-604.c             |  1 -
 gdb/features/rs6000/powerpc-64.c              |  1 -
 gdb/features/rs6000/powerpc-64l.c             |  1 -
 gdb/features/rs6000/powerpc-7400.c            |  1 -
 gdb/features/rs6000/powerpc-750.c             |  1 -
 gdb/features/rs6000/powerpc-860.c             |  1 -
 gdb/features/rs6000/powerpc-altivec32.c       |  1 -
 gdb/features/rs6000/powerpc-altivec32l.c      |  1 -
 gdb/features/rs6000/powerpc-altivec64.c       |  1 -
 gdb/features/rs6000/powerpc-altivec64l.c      |  1 -
 gdb/features/rs6000/powerpc-e500.c            |  1 -
 gdb/features/rs6000/powerpc-e500l.c           |  1 -
 gdb/features/rs6000/powerpc-isa205-32l.c      |  1 -
 gdb/features/rs6000/powerpc-isa205-64l.c      |  1 -
 .../rs6000/powerpc-isa205-altivec32l.c        |  1 -
 .../rs6000/powerpc-isa205-altivec64l.c        |  1 -
 .../rs6000/powerpc-isa205-ppr-dscr-vsx32l.c   |  1 -
 .../rs6000/powerpc-isa205-ppr-dscr-vsx64l.c   |  1 -
 gdb/features/rs6000/powerpc-isa205-vsx32l.c   |  1 -
 gdb/features/rs6000/powerpc-isa205-vsx64l.c   |  1 -
 .../rs6000/powerpc-isa207-htm-vsx32l.c        |  1 -
 .../rs6000/powerpc-isa207-htm-vsx64l.c        |  1 -
 gdb/features/rs6000/powerpc-isa207-vsx32l.c   |  1 -
 gdb/features/rs6000/powerpc-isa207-vsx64l.c   |  1 -
 gdb/features/rs6000/powerpc-vsx32.c           |  1 -
 gdb/features/rs6000/powerpc-vsx32l.c          |  1 -
 gdb/features/rs6000/powerpc-vsx64.c           |  1 -
 gdb/features/rs6000/powerpc-vsx64l.c          |  1 -
 gdb/features/rs6000/rs6000.c                  |  1 -
 gdb/features/rx.c                             |  1 -
 gdb/features/s390-gs-linux64.c                |  1 -
 gdb/features/s390-linux32.c                   |  1 -
 gdb/features/s390-linux32v1.c                 |  1 -
 gdb/features/s390-linux32v2.c                 |  1 -
 gdb/features/s390-linux64.c                   |  1 -
 gdb/features/s390-linux64v1.c                 |  1 -
 gdb/features/s390-linux64v2.c                 |  1 -
 gdb/features/s390-te-linux64.c                |  1 -
 gdb/features/s390-tevx-linux64.c              |  1 -
 gdb/features/s390-vx-linux64.c                |  1 -
 gdb/features/s390x-gs-linux64.c               |  1 -
 gdb/features/s390x-linux64.c                  |  1 -
 gdb/features/s390x-linux64v1.c                |  1 -
 gdb/features/s390x-linux64v2.c                |  1 -
 gdb/features/s390x-te-linux64.c               |  1 -
 gdb/features/s390x-tevx-linux64.c             |  1 -
 gdb/features/s390x-vx-linux64.c               |  1 -
 gdb/features/sparc/sparc32-solaris.c          |  1 -
 gdb/features/sparc/sparc64-solaris.c          |  1 -
 gdb/features/z80.c                            |  1 -
 gdb/filename-seen-cache.c                     |  1 -
 gdb/filename-seen-cache.h                     |  1 -
 gdb/filesystem.c                              |  1 -
 gdb/findcmd.c                                 |  1 -
 gdb/findvar.c                                 |  1 -
 gdb/fork-child.c                              |  1 -
 gdb/frame-base.c                              |  1 -
 gdb/frame-unwind.c                            |  1 -
 gdb/frame.c                                   |  1 -
 gdb/frv-linux-tdep.c                          |  1 -
 gdb/frv-tdep.c                                |  1 -
 gdb/ft32-tdep.c                               |  1 -
 gdb/gcore-elf.c                               |  1 -
 gdb/gcore.c                                   |  1 -
 gdb/gdb-demangle.c                            |  1 -
 gdb/gdb.c                                     |  1 -
 gdb/gdb_bfd.c                                 |  1 -
 gdb/gdbarch-selftests.c                       |  1 -
 gdb/gdbtypes.c                                |  1 -
 gdb/glibc-tdep.c                              |  1 -
 gdb/gmp-utils.c                               |  1 -
 gdb/gnu-nat.c                                 |  1 -
 gdb/gnu-nat.h                                 |  2 -
 gdb/gnu-v2-abi.c                              |  1 -
 gdb/gnu-v3-abi.c                              |  1 -
 gdb/go-exp.y                                  |  1 -
 gdb/go-lang.c                                 |  1 -
 gdb/go-typeprint.c                            |  1 -
 gdb/go-valprint.c                             |  1 -
 gdb/go32-nat.c                                |  1 -
 gdb/guile/guile.c                             |  1 -
 gdb/guile/scm-arch.c                          |  1 -
 gdb/guile/scm-auto-load.c                     |  1 -
 gdb/guile/scm-block.c                         |  1 -
 gdb/guile/scm-breakpoint.c                    |  1 -
 gdb/guile/scm-cmd.c                           |  1 -
 gdb/guile/scm-disasm.c                        |  1 -
 gdb/guile/scm-exception.c                     |  1 -
 gdb/guile/scm-frame.c                         |  1 -
 gdb/guile/scm-gsmob.c                         |  1 -
 gdb/guile/scm-iterator.c                      |  1 -
 gdb/guile/scm-lazy-string.c                   |  1 -
 gdb/guile/scm-math.c                          |  1 -
 gdb/guile/scm-objfile.c                       |  1 -
 gdb/guile/scm-param.c                         |  1 -
 gdb/guile/scm-ports.c                         |  1 -
 gdb/guile/scm-pretty-print.c                  |  1 -
 gdb/guile/scm-progspace.c                     |  1 -
 gdb/guile/scm-safe-call.c                     |  1 -
 gdb/guile/scm-string.c                        |  1 -
 gdb/guile/scm-symbol.c                        |  1 -
 gdb/guile/scm-symtab.c                        |  1 -
 gdb/guile/scm-type.c                          |  1 -
 gdb/guile/scm-utils.c                         |  1 -
 gdb/guile/scm-value.c                         |  1 -
 gdb/h8300-tdep.c                              |  1 -
 gdb/hppa-bsd-tdep.c                           |  1 -
 gdb/hppa-linux-nat.c                          |  1 -
 gdb/hppa-linux-tdep.c                         |  1 -
 gdb/hppa-netbsd-nat.c                         |  1 -
 gdb/hppa-netbsd-tdep.c                        |  1 -
 gdb/hppa-obsd-nat.c                           |  1 -
 gdb/hppa-obsd-tdep.c                          |  1 -
 gdb/hppa-tdep.c                               |  1 -
 gdb/i386-bsd-nat.c                            |  1 -
 gdb/i386-bsd-tdep.c                           |  1 -
 gdb/i386-darwin-nat.c                         |  1 -
 gdb/i386-darwin-tdep.c                        |  1 -
 gdb/i386-dicos-tdep.c                         |  1 -
 gdb/i386-fbsd-nat.c                           |  1 -
 gdb/i386-fbsd-tdep.c                          |  1 -
 gdb/i386-gnu-nat.c                            |  1 -
 gdb/i386-gnu-tdep.c                           |  1 -
 gdb/i386-go32-tdep.c                          |  1 -
 gdb/i386-linux-nat.c                          |  1 -
 gdb/i386-linux-tdep.c                         |  1 -
 gdb/i386-netbsd-nat.c                         |  1 -
 gdb/i386-netbsd-tdep.c                        |  1 -
 gdb/i386-nto-tdep.c                           |  1 -
 gdb/i386-obsd-nat.c                           |  1 -
 gdb/i386-obsd-tdep.c                          |  1 -
 gdb/i386-sol2-nat.c                           |  1 -
 gdb/i386-sol2-tdep.c                          |  1 -
 gdb/i386-tdep.c                               |  1 -
 gdb/i386-windows-nat.c                        |  1 -
 gdb/i386-windows-tdep.c                       |  1 -
 gdb/i387-tdep.c                               |  1 -
 gdb/ia64-libunwind-tdep.c                     |  1 -
 gdb/ia64-linux-nat.c                          |  1 -
 gdb/ia64-linux-tdep.c                         |  1 -
 gdb/ia64-tdep.c                               |  1 -
 gdb/ia64-vms-tdep.c                           |  1 -
 gdb/inf-child.c                               |  1 -
 gdb/inf-loop.c                                |  1 -
 gdb/inf-ptrace.c                              |  1 -
 gdb/infcall.c                                 |  1 -
 gdb/infcmd.c                                  |  1 -
 gdb/inferior.c                                |  1 -
 gdb/inflow.c                                  |  1 -
 gdb/infrun.c                                  |  1 -
 gdb/inline-frame.c                            |  1 -
 gdb/interps.c                                 |  1 -
 gdb/iq2000-tdep.c                             |  1 -
 gdb/jit.c                                     |  1 -
 gdb/language.c                                |  1 -
 gdb/linespec.c                                |  1 -
 gdb/linux-fork.c                              |  1 -
 gdb/linux-nat-trad.c                          |  1 -
 gdb/linux-nat.c                               |  1 -
 gdb/linux-record.c                            |  1 -
 gdb/linux-tdep.c                              |  1 -
 gdb/linux-thread-db.c                         |  1 -
 gdb/lm32-tdep.c                               |  1 -
 gdb/location.c                                |  1 -
 gdb/loongarch-linux-nat.c                     |  1 -
 gdb/loongarch-linux-tdep.c                    |  1 -
 gdb/loongarch-tdep.c                          |  1 -
 gdb/m2-exp.y                                  |  1 -
 gdb/m2-lang.c                                 |  1 -
 gdb/m2-typeprint.c                            |  1 -
 gdb/m2-valprint.c                             |  1 -
 gdb/m32c-tdep.c                               |  1 -
 gdb/m32r-linux-nat.c                          |  1 -
 gdb/m32r-linux-tdep.c                         |  1 -
 gdb/m32r-tdep.c                               |  1 -
 gdb/m68hc11-tdep.c                            |  1 -
 gdb/m68k-bsd-nat.c                            |  1 -
 gdb/m68k-bsd-tdep.c                           |  1 -
 gdb/m68k-linux-nat.c                          |  1 -
 gdb/m68k-linux-tdep.c                         |  1 -
 gdb/m68k-tdep.c                               |  1 -
 gdb/machoread.c                               |  1 -
 gdb/macrocmd.c                                |  1 -
 gdb/macroexp.c                                |  1 -
 gdb/macroscope.c                              |  1 -
 gdb/macrotab.c                                |  1 -
 gdb/main.c                                    |  1 -
 gdb/maint-test-options.c                      |  1 -
 gdb/maint-test-settings.c                     |  1 -
 gdb/maint.c                                   |  1 -
 gdb/make-init-c                               |  1 -
 gdb/mdebugread.c                              |  1 -
 gdb/mem-break.c                               |  1 -
 gdb/memattr.c                                 |  1 -
 gdb/memory-map.c                              |  1 -
 gdb/memrange.c                                |  1 -
 gdb/memtag.c                                  |  1 -
 gdb/mep-tdep.c                                |  1 -
 gdb/mi/mi-cmd-break.c                         |  1 -
 gdb/mi/mi-cmd-catch.c                         |  1 -
 gdb/mi/mi-cmd-disas.c                         |  1 -
 gdb/mi/mi-cmd-env.c                           |  1 -
 gdb/mi/mi-cmd-file.c                          |  1 -
 gdb/mi/mi-cmd-info.c                          |  1 -
 gdb/mi/mi-cmd-stack.c                         |  1 -
 gdb/mi/mi-cmd-target.c                        |  1 -
 gdb/mi/mi-cmd-var.c                           |  1 -
 gdb/mi/mi-cmds.c                              |  1 -
 gdb/mi/mi-common.c                            |  1 -
 gdb/mi/mi-console.c                           |  1 -
 gdb/mi/mi-getopt.c                            |  1 -
 gdb/mi/mi-interp.c                            |  1 -
 gdb/mi/mi-main.c                              |  1 -
 gdb/mi/mi-out.c                               |  1 -
 gdb/mi/mi-parse.c                             |  1 -
 gdb/mi/mi-symbol-cmds.c                       |  1 -
 gdb/microblaze-linux-tdep.c                   |  1 -
 gdb/microblaze-tdep.c                         |  1 -
 gdb/mingw-hdep.c                              |  1 -
 gdb/minidebug.c                               |  1 -
 gdb/minsyms.c                                 |  1 -
 gdb/mips-fbsd-nat.c                           |  1 -
 gdb/mips-fbsd-tdep.c                          |  1 -
 gdb/mips-linux-nat.c                          |  1 -
 gdb/mips-linux-tdep.c                         |  1 -
 gdb/mips-netbsd-nat.c                         |  1 -
 gdb/mips-netbsd-tdep.c                        |  1 -
 gdb/mips-sde-tdep.c                           |  1 -
 gdb/mips-tdep.c                               |  1 -
 gdb/mips64-obsd-nat.c                         |  1 -
 gdb/mips64-obsd-tdep.c                        |  1 -
 gdb/mipsread.c                                |  1 -
 gdb/mn10300-linux-tdep.c                      |  1 -
 gdb/mn10300-tdep.c                            |  1 -
 gdb/moxie-tdep.c                              |  1 -
 gdb/msp430-tdep.c                             |  1 -
 gdb/namespace.c                               |  1 -
 gdb/nat/aarch64-hw-point.c                    |  1 -
 gdb/nat/aarch64-linux-hw-point.c              |  1 -
 gdb/nat/aarch64-linux.c                       |  1 -
 gdb/nat/aarch64-mte-linux-ptrace.c            |  1 -
 gdb/nat/aarch64-scalable-linux-ptrace.c       |  1 -
 gdb/nat/amd64-linux-siginfo.c                 |  1 -
 gdb/nat/fork-inferior.c                       |  1 -
 gdb/nat/linux-btrace.c                        |  1 -
 gdb/nat/linux-namespaces.c                    |  1 -
 gdb/nat/linux-osdata.c                        |  1 -
 gdb/nat/linux-personality.c                   |  1 -
 gdb/nat/linux-procfs.c                        |  1 -
 gdb/nat/linux-ptrace.c                        |  1 -
 gdb/nat/linux-waitpid.c                       |  1 -
 gdb/nat/mips-linux-watch.c                    |  1 -
 gdb/nat/netbsd-nat.c                          |  1 -
 gdb/nat/ppc-linux.c                           |  1 -
 gdb/nat/riscv-linux-tdesc.c                   |  1 -
 gdb/nat/windows-nat.c                         |  1 -
 gdb/nat/x86-dregs.c                           |  1 -
 gdb/nat/x86-linux-dregs.c                     |  1 -
 gdb/nat/x86-linux.c                           |  1 -
 gdb/nat/x86-xstate.c                          |  1 -
 gdb/nds32-tdep.c                              |  1 -
 gdb/netbsd-nat.c                              |  1 -
 gdb/netbsd-tdep.c                             |  1 -
 gdb/nios2-linux-tdep.c                        |  1 -
 gdb/nios2-tdep.c                              |  1 -
 gdb/nto-procfs.c                              |  1 -
 gdb/nto-tdep.c                                |  1 -
 gdb/objc-lang.c                               |  1 -
 gdb/objfiles.c                                |  1 -
 gdb/obsd-nat.c                                |  1 -
 gdb/obsd-tdep.c                               |  1 -
 gdb/observable.c                              |  1 -
 gdb/opencl-lang.c                             |  1 -
 gdb/or1k-linux-nat.c                          |  1 -
 gdb/or1k-linux-tdep.c                         |  1 -
 gdb/or1k-tdep.c                               |  1 -
 gdb/osabi.c                                   |  1 -
 gdb/osdata.c                                  |  1 -
 gdb/p-exp.y                                   |  1 -
 gdb/p-lang.c                                  |  1 -
 gdb/p-typeprint.c                             |  1 -
 gdb/p-valprint.c                              |  1 -
 gdb/parse.c                                   |  1 -
 gdb/posix-hdep.c                              |  1 -
 gdb/ppc-fbsd-nat.c                            |  1 -
 gdb/ppc-fbsd-tdep.c                           |  1 -
 gdb/ppc-linux-nat.c                           |  1 -
 gdb/ppc-linux-tdep.c                          |  1 -
 gdb/ppc-netbsd-nat.c                          |  1 -
 gdb/ppc-netbsd-tdep.c                         |  1 -
 gdb/ppc-obsd-nat.c                            |  1 -
 gdb/ppc-obsd-tdep.c                           |  1 -
 gdb/ppc-ravenscar-thread.c                    |  1 -
 gdb/ppc-sysv-tdep.c                           |  1 -
 gdb/ppc64-tdep.c                              |  1 -
 gdb/printcmd.c                                |  1 -
 gdb/probe.c                                   |  1 -
 gdb/proc-api.c                                |  1 -
 gdb/proc-events.c                             |  1 -
 gdb/proc-flags.c                              |  1 -
 gdb/proc-service.c                            |  1 -
 gdb/proc-why.c                                |  1 -
 gdb/process-stratum-target.c                  |  1 -
 gdb/procfs.c                                  |  1 -
 gdb/producer.c                                |  1 -
 gdb/progspace-and-thread.c                    |  1 -
 gdb/progspace.c                               |  1 -
 gdb/prologue-value.c                          |  1 -
 gdb/psymtab.c                                 |  1 -
 gdb/python/py-arch.c                          |  1 -
 gdb/python/py-auto-load.c                     |  1 -
 gdb/python/py-block.c                         |  1 -
 gdb/python/py-bpevent.c                       |  1 -
 gdb/python/py-breakpoint.c                    |  1 -
 gdb/python/py-cmd.c                           |  1 -
 gdb/python/py-connection.c                    |  1 -
 gdb/python/py-continueevent.c                 |  1 -
 gdb/python/py-dap.c                           |  1 -
 gdb/python/py-disasm.c                        |  1 -
 gdb/python/py-event.c                         |  1 -
 gdb/python/py-evtregistry.c                   |  1 -
 gdb/python/py-evts.c                          |  1 -
 gdb/python/py-exitedevent.c                   |  1 -
 gdb/python/py-finishbreakpoint.c              |  1 -
 gdb/python/py-frame.c                         |  1 -
 gdb/python/py-framefilter.c                   |  1 -
 gdb/python/py-function.c                      |  1 -
 gdb/python/py-gdb-readline.c                  |  1 -
 gdb/python/py-inferior.c                      |  1 -
 gdb/python/py-infevents.c                     |  1 -
 gdb/python/py-infthread.c                     |  1 -
 gdb/python/py-instruction.c                   |  1 -
 gdb/python/py-lazy-string.c                   |  1 -
 gdb/python/py-linetable.c                     |  1 -
 gdb/python/py-membuf.c                        |  1 -
 gdb/python/py-mi.c                            |  1 -
 gdb/python/py-micmd.c                         |  1 -
 gdb/python/py-newobjfileevent.c               |  1 -
 gdb/python/py-objfile.c                       |  1 -
 gdb/python/py-param.c                         |  1 -
 gdb/python/py-prettyprint.c                   |  1 -
 gdb/python/py-progspace.c                     |  1 -
 gdb/python/py-record-btrace.c                 |  1 -
 gdb/python/py-record-full.c                   |  1 -
 gdb/python/py-record.c                        |  1 -
 gdb/python/py-registers.c                     |  1 -
 gdb/python/py-signalevent.c                   |  1 -
 gdb/python/py-stopevent.c                     |  1 -
 gdb/python/py-symbol.c                        |  1 -
 gdb/python/py-symtab.c                        |  1 -
 gdb/python/py-threadevent.c                   |  1 -
 gdb/python/py-tui.c                           |  1 -
 gdb/python/py-type.c                          |  1 -
 gdb/python/py-unwind.c                        |  1 -
 gdb/python/py-utils.c                         |  1 -
 gdb/python/py-value.c                         |  1 -
 gdb/python/py-varobj.c                        |  1 -
 gdb/python/py-xmethods.c                      |  1 -
 gdb/python/python.c                           |  1 -
 gdb/ravenscar-thread.c                        |  1 -
 gdb/record-btrace.c                           |  1 -
 gdb/record-full.c                             |  1 -
 gdb/record.c                                  |  1 -
 gdb/regcache-dump.c                           |  1 -
 gdb/regcache.c                                |  1 -
 gdb/regformats/regdat.sh                      |  1 -
 gdb/reggroups.c                               |  1 -
 gdb/remote-fileio.c                           |  1 -
 gdb/remote-notif.c                            |  1 -
 gdb/remote-sim.c                              |  1 -
 gdb/remote.c                                  |  1 -
 gdb/reverse.c                                 |  1 -
 gdb/riscv-fbsd-nat.c                          |  1 -
 gdb/riscv-fbsd-tdep.c                         |  1 -
 gdb/riscv-linux-nat.c                         |  1 -
 gdb/riscv-linux-tdep.c                        |  1 -
 gdb/riscv-none-tdep.c                         |  1 -
 gdb/riscv-ravenscar-thread.c                  |  1 -
 gdb/riscv-tdep.c                              |  2 -
 gdb/rl78-tdep.c                               |  1 -
 gdb/rs6000-aix-nat.c                          |  1 -
 gdb/rs6000-aix-tdep.c                         |  1 -
 gdb/rs6000-lynx178-tdep.c                     |  1 -
 gdb/rs6000-tdep.c                             |  1 -
 gdb/run-on-main-thread.c                      |  1 -
 gdb/rust-lang.c                               |  1 -
 gdb/rust-parse.c                              |  1 -
 gdb/rx-tdep.c                                 |  1 -
 gdb/s12z-tdep.c                               |  1 -
 gdb/s390-linux-nat.c                          |  1 -
 gdb/s390-linux-tdep.c                         |  1 -
 gdb/s390-tdep.c                               |  1 -
 gdb/selftest-arch.c                           |  1 -
 gdb/sentinel-frame.c                          |  1 -
 gdb/ser-base.c                                |  1 -
 gdb/ser-event.c                               |  1 -
 gdb/ser-go32.c                                |  1 -
 gdb/ser-mingw.c                               |  1 -
 gdb/ser-pipe.c                                |  1 -
 gdb/ser-tcp.c                                 |  1 -
 gdb/ser-uds.c                                 |  1 -
 gdb/ser-unix.c                                |  1 -
 gdb/serial.c                                  |  1 -
 gdb/sh-linux-tdep.c                           |  1 -
 gdb/sh-netbsd-nat.c                           |  1 -
 gdb/sh-netbsd-tdep.c                          |  1 -
 gdb/sh-tdep.c                                 |  1 -
 gdb/skip.c                                    |  1 -
 gdb/sol-thread.c                              |  1 -
 gdb/sol2-tdep.c                               |  1 -
 gdb/solib-aix.c                               |  1 -
 gdb/solib-darwin.c                            |  1 -
 gdb/solib-dsbt.c                              |  1 -
 gdb/solib-frv.c                               |  1 -
 gdb/solib-rocm.c                              |  1 -
 gdb/solib-svr4.c                              |  1 -
 gdb/solib-target.c                            |  1 -
 gdb/solib.c                                   |  1 -
 gdb/source-cache.c                            |  1 -
 gdb/source.c                                  |  1 -
 gdb/sparc-linux-nat.c                         |  1 -
 gdb/sparc-linux-tdep.c                        |  1 -
 gdb/sparc-nat.c                               |  1 -
 gdb/sparc-netbsd-nat.c                        |  1 -
 gdb/sparc-netbsd-tdep.c                       |  1 -
 gdb/sparc-obsd-tdep.c                         |  1 -
 gdb/sparc-ravenscar-thread.c                  |  1 -
 gdb/sparc-sol2-nat.c                          |  1 -
 gdb/sparc-sol2-tdep.c                         |  1 -
 gdb/sparc-tdep.c                              |  1 -
 gdb/sparc64-fbsd-nat.c                        |  1 -
 gdb/sparc64-fbsd-tdep.c                       |  1 -
 gdb/sparc64-linux-nat.c                       |  1 -
 gdb/sparc64-linux-tdep.c                      |  1 -
 gdb/sparc64-nat.c                             |  1 -
 gdb/sparc64-netbsd-nat.c                      |  1 -
 gdb/sparc64-netbsd-tdep.c                     |  1 -
 gdb/sparc64-obsd-nat.c                        |  1 -
 gdb/sparc64-obsd-tdep.c                       |  1 -
 gdb/sparc64-sol2-tdep.c                       |  1 -
 gdb/sparc64-tdep.c                            |  1 -
 gdb/split-name.c                              |  1 -
 gdb/stabsread.c                               |  1 -
 gdb/stack.c                                   |  1 -
 gdb/stap-probe.c                              |  1 -
 gdb/std-regs.c                                |  1 -
 gdb/stub-termcap.c                            |  1 -
 gdb/symfile-debug.c                           |  1 -
 gdb/symfile-mem.c                             |  1 -
 gdb/symfile.c                                 |  1 -
 gdb/symmisc.c                                 |  1 -
 gdb/symtab.c                                  |  1 -
 gdb/target-connection.c                       |  1 -
 gdb/target-dcache.c                           |  1 -
 gdb/target-descriptions.c                     |  2 -
 gdb/target-float.c                            |  1 -
 gdb/target-memory.c                           |  1 -
 gdb/target.c                                  |  1 -
 gdb/target/target.c                           |  1 -
 gdb/target/waitstatus.c                       |  1 -
 gdb/test-target.c                             |  1 -
 gdb/thread-iter.c                             |  1 -
 gdb/thread.c                                  |  1 -
 gdb/tic6x-linux-tdep.c                        |  1 -
 gdb/tic6x-tdep.c                              |  1 -
 gdb/tid-parse.c                               |  1 -
 gdb/tilegx-linux-nat.c                        |  1 -
 gdb/tilegx-linux-tdep.c                       |  1 -
 gdb/tilegx-tdep.c                             |  1 -
 gdb/top.c                                     |  1 -
 gdb/tracectf.c                                |  1 -
 gdb/tracefile-tfile.c                         |  1 -
 gdb/tracefile.c                               |  1 -
 gdb/tracepoint.c                              |  1 -
 gdb/trad-frame.c                              |  1 -
 gdb/tramp-frame.c                             |  1 -
 gdb/tui/tui-command.c                         |  1 -
 gdb/tui/tui-data.c                            |  1 -
 gdb/tui/tui-disasm.c                          |  1 -
 gdb/tui/tui-file.c                            |  1 -
 gdb/tui/tui-hooks.c                           |  1 -
 gdb/tui/tui-interp.c                          |  1 -
 gdb/tui/tui-io.c                              |  1 -
 gdb/tui/tui-layout.c                          |  1 -
 gdb/tui/tui-location.c                        |  1 -
 gdb/tui/tui-regs.c                            |  1 -
 gdb/tui/tui-source.c                          |  1 -
 gdb/tui/tui-status.c                          |  1 -
 gdb/tui/tui-win.c                             |  1 -
 gdb/tui/tui-wingeneral.c                      |  1 -
 gdb/tui/tui-winsource.c                       |  1 -
 gdb/tui/tui.c                                 |  1 -
 gdb/type-stack.c                              |  1 -
 gdb/typeprint.c                               |  1 -
 gdb/ui-file.c                                 |  1 -
 gdb/ui-out.c                                  |  1 -
 gdb/ui-style.c                                |  1 -
 gdb/ui.c                                      |  1 -
 gdb/unittests/array-view-selftests.c          |  1 -
 gdb/unittests/child-path-selftests.c          |  1 -
 gdb/unittests/cli-utils-selftests.c           |  1 -
 gdb/unittests/command-def-selftests.c         |  1 -
 gdb/unittests/common-utils-selftests.c        |  1 -
 gdb/unittests/copy_bitwise-selftests.c        |  1 -
 gdb/unittests/enum-flags-selftests.c          |  1 -
 gdb/unittests/environ-selftests.c             |  1 -
 gdb/unittests/filtered_iterator-selftests.c   |  1 -
 gdb/unittests/format_pieces-selftests.c       |  1 -
 gdb/unittests/frame_info_ptr-selftests.c      |  1 -
 gdb/unittests/function-view-selftests.c       |  1 -
 gdb/unittests/gdb_tilde_expand-selftests.c    |  1 -
 gdb/unittests/gmp-utils-selftests.c           |  1 -
 gdb/unittests/intrusive_list-selftests.c      |  1 -
 gdb/unittests/lookup_name_info-selftests.c    |  1 -
 gdb/unittests/main-thread-selftests.c         |  1 -
 gdb/unittests/memory-map-selftests.c          |  1 -
 gdb/unittests/memrange-selftests.c            |  1 -
 gdb/unittests/mkdir-recursive-selftests.c     |  1 -
 gdb/unittests/observable-selftests.c          |  1 -
 gdb/unittests/offset-type-selftests.c         |  1 -
 gdb/unittests/packed-selftests.c              |  1 -
 gdb/unittests/parallel-for-selftests.c        |  1 -
 .../parse-connection-spec-selftests.c         |  1 -
 gdb/unittests/path-join-selftests.c           |  1 -
 gdb/unittests/ptid-selftests.c                |  1 -
 gdb/unittests/rsp-low-selftests.c             |  1 -
 gdb/unittests/scoped_fd-selftests.c           |  1 -
 .../scoped_ignore_signal-selftests.c          |  1 -
 gdb/unittests/scoped_mmap-selftests.c         |  1 -
 gdb/unittests/scoped_restore-selftests.c      |  1 -
 gdb/unittests/search-memory-selftests.c       |  1 -
 gdb/unittests/style-selftests.c               |  1 -
 gdb/unittests/tracepoint-selftests.c          |  1 -
 gdb/unittests/tui-selftests.c                 |  1 -
 gdb/unittests/ui-file-selftests.c             |  1 -
 gdb/unittests/unique_xmalloc_ptr_char.c       |  1 -
 gdb/unittests/unpack-selftests.c              |  1 -
 gdb/unittests/utils-selftests.c               |  1 -
 gdb/unittests/vec-utils-selftests.c           |  1 -
 gdb/unittests/xml-utils-selftests.c           |  1 -
 gdb/user-regs.c                               |  1 -
 gdb/utils.c                                   |  1 -
 gdb/v850-tdep.c                               |  1 -
 gdb/valarith.c                                |  1 -
 gdb/valops.c                                  |  1 -
 gdb/valprint.c                                |  1 -
 gdb/value.c                                   |  1 -
 gdb/varobj.c                                  |  1 -
 gdb/vax-bsd-nat.c                             |  1 -
 gdb/vax-netbsd-tdep.c                         |  1 -
 gdb/vax-tdep.c                                |  1 -
 gdb/windows-nat.c                             |  1 -
 gdb/windows-tdep.c                            |  1 -
 gdb/x86-bsd-nat.c                             |  1 -
 gdb/x86-fbsd-nat.c                            |  1 -
 gdb/x86-linux-nat.c                           |  1 -
 gdb/x86-nat.c                                 |  1 -
 gdb/x86-tdep.c                                |  1 -
 gdb/xcoffread.c                               |  1 -
 gdb/xml-support.c                             |  1 -
 gdb/xml-syscall.c                             |  1 -
 gdb/xml-tdesc.c                               |  1 -
 gdb/xstormy16-tdep.c                          |  1 -
 gdb/xtensa-config.c                           |  1 -
 gdb/xtensa-linux-nat.c                        |  1 -
 gdb/xtensa-linux-tdep.c                       |  1 -
 gdb/xtensa-tdep.c                             |  1 -
 gdb/z80-tdep.c                                |  1 -
 gdbserver/Makefile.in                         | 58 ++++++++++++++-----
 gdbserver/ax.cc                               |  1 -
 gdbserver/debug.cc                            |  1 -
 gdbserver/dll.cc                              |  1 -
 gdbserver/fork-child.cc                       |  1 -
 gdbserver/gdbreplay.cc                        |  2 -
 gdbserver/hostio.cc                           |  1 -
 gdbserver/i387-fp.cc                          |  1 -
 gdbserver/inferiors.cc                        |  1 -
 gdbserver/linux-aarch32-low.cc                |  1 -
 gdbserver/linux-aarch32-tdesc.cc              |  1 -
 gdbserver/linux-aarch64-ipa.cc                |  1 -
 gdbserver/linux-aarch64-low.cc                |  1 -
 gdbserver/linux-aarch64-tdesc.cc              |  1 -
 gdbserver/linux-amd64-ipa.cc                  |  1 -
 gdbserver/linux-arc-low.cc                    |  1 -
 gdbserver/linux-arm-low.cc                    |  1 -
 gdbserver/linux-arm-tdesc.cc                  |  1 -
 gdbserver/linux-csky-low.cc                   |  1 -
 gdbserver/linux-i386-ipa.cc                   |  1 -
 gdbserver/linux-ia64-low.cc                   |  1 -
 gdbserver/linux-loongarch-low.cc              |  1 -
 gdbserver/linux-low.cc                        |  1 -
 gdbserver/linux-m68k-low.cc                   |  1 -
 gdbserver/linux-mips-low.cc                   |  1 -
 gdbserver/linux-nios2-low.cc                  |  1 -
 gdbserver/linux-or1k-low.cc                   |  1 -
 gdbserver/linux-ppc-ipa.cc                    |  1 -
 gdbserver/linux-ppc-low.cc                    |  1 -
 gdbserver/linux-riscv-low.cc                  |  1 -
 gdbserver/linux-s390-ipa.cc                   |  1 -
 gdbserver/linux-s390-low.cc                   |  1 -
 gdbserver/linux-sh-low.cc                     |  1 -
 gdbserver/linux-sparc-low.cc                  |  1 -
 gdbserver/linux-tic6x-low.cc                  |  1 -
 gdbserver/linux-x86-low.cc                    |  1 -
 gdbserver/linux-x86-tdesc.cc                  |  1 -
 gdbserver/linux-xtensa-low.cc                 |  1 -
 gdbserver/mem-break.cc                        |  1 -
 gdbserver/netbsd-aarch64-low.cc               |  1 -
 gdbserver/netbsd-amd64-low.cc                 |  1 -
 gdbserver/netbsd-i386-low.cc                  |  1 -
 gdbserver/netbsd-low.cc                       |  1 -
 gdbserver/notif.cc                            |  1 -
 gdbserver/proc-service.cc                     |  1 -
 gdbserver/regcache.cc                         |  1 -
 gdbserver/remote-utils.cc                     |  1 -
 gdbserver/server.cc                           |  1 -
 gdbserver/symbol.cc                           |  1 -
 gdbserver/target.cc                           |  1 -
 gdbserver/tdesc.cc                            |  1 -
 gdbserver/thread-db.cc                        |  1 -
 gdbserver/tracepoint.cc                       |  1 -
 gdbserver/utils.cc                            |  1 -
 gdbserver/win32-i386-low.cc                   |  1 -
 gdbserver/win32-low.cc                        |  1 -
 gdbserver/x86-low.cc                          |  1 -
 gdbsupport/Makefile.am                        | 16 +++--
 gdbsupport/Makefile.in                        | 16 +++--
 gdbsupport/agent.cc                           |  1 -
 gdbsupport/btrace-common.cc                   |  1 -
 gdbsupport/cleanups.cc                        |  1 -
 gdbsupport/common-debug.cc                    |  1 -
 gdbsupport/common-exceptions.cc               |  1 -
 gdbsupport/common-inferior.cc                 |  1 -
 gdbsupport/common-regcache.cc                 |  1 -
 gdbsupport/common-utils.cc                    |  1 -
 gdbsupport/environ.cc                         |  1 -
 gdbsupport/errors.cc                          |  1 -
 gdbsupport/event-loop.cc                      |  1 -
 gdbsupport/event-pipe.cc                      |  1 -
 gdbsupport/fileio.cc                          |  1 -
 gdbsupport/filestuff.cc                       |  1 -
 gdbsupport/format.cc                          |  1 -
 gdbsupport/gdb-dlfcn.cc                       |  1 -
 gdbsupport/gdb-hashtab.cc                     |  1 -
 gdbsupport/gdb_obstack.cc                     |  1 -
 gdbsupport/gdb_regex.cc                       |  1 -
 gdbsupport/gdb_tilde_expand.cc                |  1 -
 gdbsupport/gdb_vecs.cc                        |  1 -
 gdbsupport/gdb_wait.cc                        |  1 -
 gdbsupport/job-control.cc                     |  1 -
 gdbsupport/netstuff.cc                        |  1 -
 gdbsupport/new-op.cc                          |  1 -
 gdbsupport/pathstuff.cc                       |  1 -
 gdbsupport/print-utils.cc                     |  1 -
 gdbsupport/ptid.cc                            |  1 -
 gdbsupport/rsp-low.cc                         |  1 -
 gdbsupport/run-time-clock.cc                  |  1 -
 gdbsupport/safe-strerror.cc                   |  1 -
 gdbsupport/scoped_mmap.cc                     |  1 -
 gdbsupport/search.cc                          |  1 -
 gdbsupport/selftest.cc                        |  1 -
 gdbsupport/signals-state-save-restore.cc      |  1 -
 gdbsupport/signals.cc                         |  1 -
 gdbsupport/task-group.cc                      |  1 -
 gdbsupport/tdesc.cc                           |  1 -
 gdbsupport/thread-pool.cc                     |  1 -
 gdbsupport/xml-utils.cc                       |  1 -
 896 files changed, 105 insertions(+), 938 deletions(-)


base-commit: 56f703d39d6f4793ba73b2364a4ea052e8ad755d
  

Comments

Simon Marchi March 26, 2024, 7:09 p.m. UTC | #1
On 3/26/24 3:06 PM, Simon Marchi wrote:
> This is v3 of:
> 
> https://inbox.sourceware.org/gdb-patches/20240323021648.154109-1-simon.marchi@efficios.com/T/#t
> 
> The only change in v3 concerns gdbreplay.  In patch 3, use `-include
> gdbsupport/common-defs.h` when building `gdbreplay.o`.  In patch 4,
> remove the corresponding #include in `gdbreplay.cc`.
> 
> Simon Marchi (4):
>   gdb, gdbserver, gdbsupport: reformat some Makefile variables, one
>     entry per line
>   {gdb,gdbserver}/Makefile.in: remove unnecessary intermediary variables
>   gdb, gdbserver, gdbsupport: include early header files with `-include`
>   gdb, gdbserver, gdbsupport: remove includes of early headers

Actually, there's one more change: in patch 4, make regdat.sh not output
an include for server.h.

Simon
  
Pedro Alves March 26, 2024, 7:56 p.m. UTC | #2
On 2024-03-26 19:09, Simon Marchi wrote:
> On 3/26/24 3:06 PM, Simon Marchi wrote:
>> This is v3 of:
>>
>> https://inbox.sourceware.org/gdb-patches/20240323021648.154109-1-simon.marchi@efficios.com/T/#t
>>
>> The only change in v3 concerns gdbreplay.  In patch 3, use `-include
>> gdbsupport/common-defs.h` when building `gdbreplay.o`.  In patch 4,
>> remove the corresponding #include in `gdbreplay.cc`.
>>
>> Simon Marchi (4):
>>   gdb, gdbserver, gdbsupport: reformat some Makefile variables, one
>>     entry per line
>>   {gdb,gdbserver}/Makefile.in: remove unnecessary intermediary variables
>>   gdb, gdbserver, gdbsupport: include early header files with `-include`
>>   gdb, gdbserver, gdbsupport: remove includes of early headers
> 
> Actually, there's one more change: in patch 4, make regdat.sh not output
> an include for server.h.
> 

Thanks, LGTM.

Approved-By: Pedro Alves <pedro@palves.net>
  
Simon Marchi March 27, 2024, 1:15 a.m. UTC | #3
On 2024-03-26 15:56, Pedro Alves wrote:
> On 2024-03-26 19:09, Simon Marchi wrote:
>> On 3/26/24 3:06 PM, Simon Marchi wrote:
>>> This is v3 of:
>>>
>>> https://inbox.sourceware.org/gdb-patches/20240323021648.154109-1-simon.marchi@efficios.com/T/#t
>>>
>>> The only change in v3 concerns gdbreplay.  In patch 3, use `-include
>>> gdbsupport/common-defs.h` when building `gdbreplay.o`.  In patch 4,
>>> remove the corresponding #include in `gdbreplay.cc`.
>>>
>>> Simon Marchi (4):
>>>   gdb, gdbserver, gdbsupport: reformat some Makefile variables, one
>>>     entry per line
>>>   {gdb,gdbserver}/Makefile.in: remove unnecessary intermediary variables
>>>   gdb, gdbserver, gdbsupport: include early header files with `-include`
>>>   gdb, gdbserver, gdbsupport: remove includes of early headers
>>
>> Actually, there's one more change: in patch 4, make regdat.sh not output
>> an include for server.h.
>>
> 
> Thanks, LGTM.
> 
> Approved-By: Pedro Alves <pedro@palves.net>
> 

Thanks, pushed.  Let's hope it doesn't break some obscure config.

I'll go over the `C/C++ Coding Standards` wiki page and update what
needs to be updated.

Simon