public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb, gdbserver, gdbsupport: remove includes of early headers
@ 2024-03-27 1:14 Simon Marchi
0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2024-03-27 1:14 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=18d2988e5da8919514c76b83e2c0b56e439018bd
commit 18d2988e5da8919514c76b83e2c0b56e439018bd
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Tue Mar 26 15:06:46 2024 -0400
gdb, gdbserver, gdbsupport: remove includes of early headers
Now that defs.h, server.h and common-defs.h are included via the
`-include` option, it is no longer necessary for source files to include
them. Remove all the inclusions of these files I could find. Update
the generation scripts where relevant.
Change-Id: Ia026cff269c1b7ae7386dd3619bc9bb6a5332837
Approved-By: Pedro Alves <pedro@palves.net>
Diff:
---
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 -
| 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 -
gdb/features/rs6000/powerpc-isa205-altivec32l.c | 1 -
gdb/features/rs6000/powerpc-isa205-altivec64l.c | 1 -
gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.c | 1 -
gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.c | 1 -
gdb/features/rs6000/powerpc-isa205-vsx32l.c | 1 -
gdb/features/rs6000/powerpc-isa205-vsx64l.c | 1 -
gdb/features/rs6000/powerpc-isa207-htm-vsx32l.c | 1 -
gdb/features/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 -
gdb/unittests/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 -
gdb/unittests/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/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/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 -
892 files changed, 1 insertion(+), 902 deletions(-)
diff --git a/gdb/aarch32-linux-nat.c b/gdb/aarch32-linux-nat.c
index 8c1b3ab49cc..edff97b0ea9 100644
--- a/gdb/aarch32-linux-nat.c
+++ b/gdb/aarch32-linux-nat.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "regcache.h"
#include "arm-tdep.h"
diff --git a/gdb/aarch32-tdep.c b/gdb/aarch32-tdep.c
index 0b7783c3e15..5a54a71ba4f 100644
--- a/gdb/aarch32-tdep.c
+++ b/gdb/aarch32-tdep.c
@@ -15,8 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
-
#include "aarch32-tdep.h"
#include "gdbsupport/common-regcache.h"
diff --git a/gdb/aarch64-fbsd-nat.c b/gdb/aarch64-fbsd-nat.c
index 89ed12bb8e5..7ca8463ece8 100644
--- a/gdb/aarch64-fbsd-nat.c
+++ b/gdb/aarch64-fbsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "inferior.h"
#include "regcache.h"
diff --git a/gdb/aarch64-fbsd-tdep.c b/gdb/aarch64-fbsd-tdep.c
index 44ca6c90c81..e2ff57e8390 100644
--- a/gdb/aarch64-fbsd-tdep.c
+++ b/gdb/aarch64-fbsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "fbsd-tdep.h"
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index cf7d5f8c6b1..3face34ce79 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 4ebc173a0a0..0b9784f38e4 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "glibc-tdep.h"
diff --git a/gdb/aarch64-nat.c b/gdb/aarch64-nat.c
index 802bab6d682..894fb73095b 100644
--- a/gdb/aarch64-nat.c
+++ b/gdb/aarch64-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "inferior.h"
#include "cli/cli-cmds.h"
diff --git a/gdb/aarch64-newlib-tdep.c b/gdb/aarch64-newlib-tdep.c
index c6370066aa3..4ac42a4ae26 100644
--- a/gdb/aarch64-newlib-tdep.c
+++ b/gdb/aarch64-newlib-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "aarch64-tdep.h"
diff --git a/gdb/aarch64-ravenscar-thread.c b/gdb/aarch64-ravenscar-thread.c
index 155641d5b7c..5a877cde89d 100644
--- a/gdb/aarch64-ravenscar-thread.c
+++ b/gdb/aarch64-ravenscar-thread.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "aarch64-tdep.h"
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index d1d5486f90d..545ec872fd8 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "language.h"
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 2b205714d7a..b116f31104e 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -35,7 +35,6 @@
%{
-#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 493ef3b6c7d..c9f12d72b70 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include <ctype.h>
#include "gdbsupport/gdb_regex.h"
#include "frame.h"
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index 8ae94dcdbab..864c5cfdf1c 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "observable.h"
#include "gdbcmd.h"
#include "target.h"
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index df047d82fd6..deead1055db 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "bfd.h"
#include "gdbtypes.h"
#include "value.h"
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index ac85440b139..6acfb9a48b6 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include <ctype.h>
#include "gdbtypes.h"
#include "expression.h"
diff --git a/gdb/ada-varobj.c b/gdb/ada-varobj.c
index 0a4c73f9c72..21412dbf220 100644
--- a/gdb/ada-varobj.c
+++ b/gdb/ada-varobj.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "ada-lang.h"
#include "varobj.h"
#include "language.h"
diff --git a/gdb/addrmap.c b/gdb/addrmap.c
index 162ab84763b..0c60c0c2ceb 100644
--- a/gdb/addrmap.c
+++ b/gdb/addrmap.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "addrmap.h"
#include "gdbsupport/selftest.h"
diff --git a/gdb/agent.c b/gdb/agent.c
index a01b02cd4d3..00e75458a79 100644
--- a/gdb/agent.c
+++ b/gdb/agent.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "command.h"
#include "gdbcmd.h"
#include "target.h"
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index c70bd82bc24..0fe87b2b080 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -39,7 +39,6 @@
*/
-#include "defs.h"
#include "gdbthread.h"
#include "target.h"
#include "inferior.h"
diff --git a/gdb/alloc.c b/gdb/alloc.c
index 7c45c45ece3..d07c81f4955 100644
--- a/gdb/alloc.c
+++ b/gdb/alloc.c
@@ -27,14 +27,9 @@
file can't live there.
So, it lives in gdb and is built separately by gdb and gdbserver.
- Please be aware of this when modifying it.
+ Please be aware of this when modifying it. */
- This also explains why this file includes common-defs.h and not
- defs.h or server.h -- we'd prefer to avoid depending on the
- GDBSERVER define when possible, and for this file it seemed
- simple to do so. */
-#include "gdbsupport/common-defs.h"
#include "libiberty.h"
#include "gdbsupport/errors.h"
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c
index 790958e3330..11e1639173a 100644
--- a/gdb/alpha-bsd-nat.c
+++ b/gdb/alpha-bsd-nat.c
@@ -19,7 +19,6 @@
/* We define this to get types like register_t. */
#define _KERNTYPES
-#include "defs.h"
#include "inferior.h"
#include "regcache.h"
diff --git a/gdb/alpha-bsd-tdep.c b/gdb/alpha-bsd-tdep.c
index 03becf22d9f..21e39cc937c 100644
--- a/gdb/alpha-bsd-tdep.c
+++ b/gdb/alpha-bsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "regcache.h"
#include "alpha-tdep.h"
diff --git a/gdb/alpha-linux-nat.c b/gdb/alpha-linux-nat.c
index 618b0c8140b..83d6bc46858 100644
--- a/gdb/alpha-linux-nat.c
+++ b/gdb/alpha-linux-nat.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "target.h"
#include "regcache.h"
#include "linux-nat-trad.h"
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 5f5e46d514e..9a40e0cda11 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "osabi.h"
#include "solib-svr4.h"
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 7e9312d2aa7..abded2ac192 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
diff --git a/gdb/alpha-netbsd-tdep.c b/gdb/alpha-netbsd-tdep.c
index 569fe42a2a9..f3cd62b0b58 100644
--- a/gdb/alpha-netbsd-tdep.c
+++ b/gdb/alpha-netbsd-tdep.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
diff --git a/gdb/alpha-obsd-tdep.c b/gdb/alpha-obsd-tdep.c
index 610866835c8..8602e21c64a 100644
--- a/gdb/alpha-obsd-tdep.c
+++ b/gdb/alpha-obsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index e5e0860fe24..c93bd69657f 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c
index 3fdc3cd838a..fcde6d27ffb 100644
--- a/gdb/amd-dbgapi-target.c
+++ b/gdb/amd-dbgapi-target.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "amd-dbgapi-target.h"
#include "amdgpu-tdep.h"
diff --git a/gdb/amd64-bsd-nat.c b/gdb/amd64-bsd-nat.c
index ea9c0f47c6b..e0ba28fa9fb 100644
--- a/gdb/amd64-bsd-nat.c
+++ b/gdb/amd64-bsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c
index 001f5379def..b0bead084fe 100644
--- a/gdb/amd64-darwin-tdep.c
+++ b/gdb/amd64-darwin-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c
index cc91b92f6dc..7624289dc25 100644
--- a/gdb/amd64-dicos-tdep.c
+++ b/gdb/amd64-dicos-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "gdbsupport/x86-xstate.h"
diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c
index 6a742034cbc..6ce7c45b8b3 100644
--- a/gdb/amd64-fbsd-nat.c
+++ b/gdb/amd64-fbsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
diff --git a/gdb/amd64-fbsd-tdep.c b/gdb/amd64-fbsd-tdep.c
index a837bd197ff..de295099052 100644
--- a/gdb/amd64-fbsd-tdep.c
+++ b/gdb/amd64-fbsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "regset.h"
#include "target.h"
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index 0ee878f5401..aa9295d5723 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "elf/common.h"
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 1deb13b4e9a..9d560ac4fbf 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"
diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c
index cb76658ab58..5c5c368c93d 100644
--- a/gdb/amd64-nat.c
+++ b/gdb/amd64-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "regcache.h"
diff --git a/gdb/amd64-netbsd-nat.c b/gdb/amd64-netbsd-nat.c
index abd92abd77f..8bd3e122e7b 100644
--- a/gdb/amd64-netbsd-nat.c
+++ b/gdb/amd64-netbsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "target.h"
#include "netbsd-nat.h"
diff --git a/gdb/amd64-netbsd-tdep.c b/gdb/amd64-netbsd-tdep.c
index 40500ee5f76..264042059b7 100644
--- a/gdb/amd64-netbsd-tdep.c
+++ b/gdb/amd64-netbsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"
diff --git a/gdb/amd64-obsd-nat.c b/gdb/amd64-obsd-nat.c
index 16c2c2d67a5..717f6bd7867 100644
--- a/gdb/amd64-obsd-nat.c
+++ b/gdb/amd64-obsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "target.h"
diff --git a/gdb/amd64-obsd-tdep.c b/gdb/amd64-obsd-tdep.c
index 6b37e8954ee..f6f63bbf8ed 100644
--- a/gdb/amd64-obsd-tdep.c
+++ b/gdb/amd64-obsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbcore.h"
diff --git a/gdb/amd64-ravenscar-thread.c b/gdb/amd64-ravenscar-thread.c
index a97ed3c43cf..a0de0d73135 100644
--- a/gdb/amd64-ravenscar-thread.c
+++ b/gdb/amd64-ravenscar-thread.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "gdbcore.h"
#include "regcache.h"
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 6cc84017f74..070d7ed324b 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 60d6b7aa198..0bb7a24cbd0 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "language.h"
#include "opcode/i386.h"
#include "dis-asm.h"
diff --git a/gdb/amd64-windows-nat.c b/gdb/amd64-windows-nat.c
index b4625b2f0de..a282762d027 100644
--- a/gdb/amd64-windows-nat.c
+++ b/gdb/amd64-windows-nat.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "windows-nat.h"
#include "x86-nat.h"
#include "amd64-tdep.h"
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index af17886c080..a559d967b3c 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "gdbsupport/x86-xstate.h"
diff --git a/gdb/amdgpu-tdep.c b/gdb/amdgpu-tdep.c
index ac137d9acc4..49996aeefc3 100644
--- a/gdb/amdgpu-tdep.c
+++ b/gdb/amdgpu-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "amd-dbgapi-target.h"
#include "amdgpu-tdep.h"
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 468b9698f02..19195ac7097 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "annotate.h"
#include "value.h"
#include "target.h"
diff --git a/gdb/arc-linux-nat.c b/gdb/arc-linux-nat.c
index 9f8125f8a23..66f00008089 100644
--- a/gdb/arc-linux-nat.c
+++ b/gdb/arc-linux-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
diff --git a/gdb/arc-linux-tdep.c b/gdb/arc-linux-tdep.c
index ca630ab6df0..54406ac5b90 100644
--- a/gdb/arc-linux-tdep.c
+++ b/gdb/arc-linux-tdep.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* GDB header files. */
-#include "defs.h"
#include "linux-tdep.h"
#include "objfiles.h"
#include "opcode/arc.h"
diff --git a/gdb/arc-newlib-tdep.c b/gdb/arc-newlib-tdep.c
index 2efea56a7c4..dbc096142b5 100644
--- a/gdb/arc-newlib-tdep.c
+++ b/gdb/arc-newlib-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbarch.h"
#include "arc-tdep.h"
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 63a1fd918d1..5684f324233 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -19,7 +19,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* GDB header files. */
-#include "defs.h"
#include "arch-utils.h"
#include "elf-bfd.h"
#include "disasm.h"
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index d404d1fc38a..456bfe971ff 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "gdbcmd.h"
diff --git a/gdb/arch/aarch32.c b/gdb/arch/aarch32.c
index 9f3e25088f4..ead368f5fb5 100644
--- a/gdb/arch/aarch32.c
+++ b/gdb/arch/aarch32.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "aarch32.h"
#include "../features/arm/arm-core.c"
diff --git a/gdb/arch/aarch64-insn.c b/gdb/arch/aarch64-insn.c
index 65a2841eef5..3caef45df70 100644
--- a/gdb/arch/aarch64-insn.c
+++ b/gdb/arch/aarch64-insn.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "aarch64-insn.h"
/* Toggle this file's internal debugging dump. */
diff --git a/gdb/arch/aarch64-mte-linux.h b/gdb/arch/aarch64-mte-linux.h
index e0f4a9845b5..460b10e05c9 100644
--- a/gdb/arch/aarch64-mte-linux.h
+++ b/gdb/arch/aarch64-mte-linux.h
@@ -20,7 +20,6 @@
#ifndef ARCH_AARCH64_MTE_LINUX_H
#define ARCH_AARCH64_MTE_LINUX_H
-#include "gdbsupport/common-defs.h"
/* Feature check for Memory Tagging Extension. */
#ifndef HWCAP2_MTE
diff --git a/gdb/arch/aarch64-scalable-linux.h b/gdb/arch/aarch64-scalable-linux.h
index 43577c43797..4d2ace8f153 100644
--- a/gdb/arch/aarch64-scalable-linux.h
+++ b/gdb/arch/aarch64-scalable-linux.h
@@ -21,7 +21,6 @@
#ifndef ARCH_AARCH64_SCALABLE_LINUX_H
#define ARCH_AARCH64_SCALABLE_LINUX_H
-#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
/* Feature check for Scalable Matrix Extension. */
diff --git a/gdb/arch/aarch64.c b/gdb/arch/aarch64.c
index dfa4f592ef7..5526aa1b580 100644
--- a/gdb/arch/aarch64.c
+++ b/gdb/arch/aarch64.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "aarch64.h"
#include <stdlib.h>
diff --git a/gdb/arch/amd64.c b/gdb/arch/amd64.c
index b8ff4270079..cb9683c6931 100644
--- a/gdb/arch/amd64.c
+++ b/gdb/arch/amd64.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "amd64.h"
#include "gdbsupport/x86-xstate.h"
#include <stdlib.h>
diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c
index aeb476df1a0..e807b60539f 100644
--- a/gdb/arch/arc.c
+++ b/gdb/arch/arc.c
@@ -16,7 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "arc.h"
#include <stdlib.h>
#include <unordered_map>
diff --git a/gdb/arch/arm-get-next-pcs.c b/gdb/arch/arm-get-next-pcs.c
index 3657ac799c3..03115cf2138 100644
--- a/gdb/arch/arm-get-next-pcs.c
+++ b/gdb/arch/arm-get-next-pcs.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "gdbsupport/gdb_vecs.h"
#include "gdbsupport/common-regcache.h"
#include "arm.h"
diff --git a/gdb/arch/arm-linux.c b/gdb/arch/arm-linux.c
index 80c3cdd2e33..246bade658f 100644
--- a/gdb/arch/arm-linux.c
+++ b/gdb/arch/arm-linux.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
#include "arch/arm.h"
#include "arm-linux.h"
diff --git a/gdb/arch/arm.c b/gdb/arch/arm.c
index 111803027d7..f1c292b44c9 100644
--- a/gdb/arch/arm.c
+++ b/gdb/arch/arm.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
#include "arm.h"
diff --git a/gdb/arch/csky.c b/gdb/arch/csky.c
index 3ecba618764..32df2ade718 100644
--- a/gdb/arch/csky.c
+++ b/gdb/arch/csky.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "csky.h"
#include <stdlib.h>
diff --git a/gdb/arch/i386.c b/gdb/arch/i386.c
index 0e46b6afd5f..f3165c5b7f0 100644
--- a/gdb/arch/i386.c
+++ b/gdb/arch/i386.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "i386.h"
#include "gdbsupport/tdesc.h"
#include "gdbsupport/x86-xstate.h"
diff --git a/gdb/arch/loongarch.c b/gdb/arch/loongarch.c
index 22f2d3936ca..04b6dfc8279 100644
--- a/gdb/arch/loongarch.c
+++ b/gdb/arch/loongarch.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "loongarch.h"
#include <stdlib.h>
#include <unordered_map>
diff --git a/gdb/arch/ppc-linux-common.c b/gdb/arch/ppc-linux-common.c
index e67327872b6..0a6915cdc09 100644
--- a/gdb/arch/ppc-linux-common.c
+++ b/gdb/arch/ppc-linux-common.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "arch/ppc-linux-common.h"
#include "arch/ppc-linux-tdesc.h"
diff --git a/gdb/arch/riscv.c b/gdb/arch/riscv.c
index cafcda50e54..9a84844a645 100644
--- a/gdb/arch/riscv.c
+++ b/gdb/arch/riscv.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "gdbsupport/common-defs.h"
#include "riscv.h"
#include <stdlib.h>
#include <unordered_map>
diff --git a/gdb/arch/tic6x.c b/gdb/arch/tic6x.c
index dea409a3946..680a7942070 100644
--- a/gdb/arch/tic6x.c
+++ b/gdb/arch/tic6x.c
@@ -17,7 +17,6 @@
#include "gdbsupport/tdesc.h"
#include "tic6x.h"
-#include "gdbsupport/common-defs.h"
#include "../features/tic6x-core.c"
#include "../features/tic6x-gp.c"
diff --git a/gdb/arm-bsd-tdep.c b/gdb/arm-bsd-tdep.c
index 1a9ebcf202c..1ccabcb24f0 100644
--- a/gdb/arm-bsd-tdep.c
+++ b/gdb/arm-bsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
diff --git a/gdb/arm-fbsd-nat.c b/gdb/arm-fbsd-nat.c
index 80c901842ee..cbe9867f49d 100644
--- a/gdb/arm-fbsd-nat.c
+++ b/gdb/arm-fbsd-nat.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "target.h"
diff --git a/gdb/arm-fbsd-tdep.c b/gdb/arm-fbsd-tdep.c
index 7b82de2166b..dfb75329cd8 100644
--- a/gdb/arm-fbsd-tdep.c
+++ b/gdb/arm-fbsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "elf/common.h"
#include "target-descriptions.h"
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index 75f498cd5b3..50c24ecfcd2 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index a8b27a7463a..8511abcd11d 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "target.h"
#include "value.h"
#include "gdbtypes.h"
diff --git a/gdb/arm-netbsd-nat.c b/gdb/arm-netbsd-nat.c
index 4b9f9294641..37f6530a0fe 100644
--- a/gdb/arm-netbsd-nat.c
+++ b/gdb/arm-netbsd-nat.c
@@ -19,7 +19,6 @@
/* We define this to get types like register_t. */
#define _KERNTYPES
-#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
diff --git a/gdb/arm-netbsd-tdep.c b/gdb/arm-netbsd-tdep.c
index 829e1d3d4b8..f77fec7894a 100644
--- a/gdb/arm-netbsd-tdep.c
+++ b/gdb/arm-netbsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "arch/arm.h"
diff --git a/gdb/arm-none-tdep.c b/gdb/arm-none-tdep.c
index 72eff2c0b17..453e75234d4 100644
--- a/gdb/arm-none-tdep.c
+++ b/gdb/arm-none-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arm-tdep.h"
#include "arch-utils.h"
#include "regcache.h"
diff --git a/gdb/arm-obsd-tdep.c b/gdb/arm-obsd-tdep.c
index 0bdecec3b6f..56102b03815 100644
--- a/gdb/arm-obsd-tdep.c
+++ b/gdb/arm-obsd-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "trad-frame.h"
#include "tramp-frame.h"
diff --git a/gdb/arm-pikeos-tdep.c b/gdb/arm-pikeos-tdep.c
index 5354af6ac7b..4760755a32a 100644
--- a/gdb/arm-pikeos-tdep.c
+++ b/gdb/arm-pikeos-tdep.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "objfiles.h"
#include "arm-tdep.h"
#include "osabi.h"
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 3a5fbe71b8b..b4062a8f922 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include <ctype.h>
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c
index b722851e7e1..eab496c2c0b 100644
--- a/gdb/arm-wince-tdep.c
+++ b/gdb/arm-wince-tdep.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "osabi.h"
#include "gdbcore.h"
#include "target.h"
diff --git a/gdb/async-event.c b/gdb/async-event.c
index 7097c482fff..32b58652e58 100644
--- a/gdb/async-event.c
+++ b/gdb/async-event.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "async-event.h"
#include "ser-event.h"
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index a097a3bd2f4..db6d6ae0f73 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include <ctype.h>
#include "auto-load.h"
#include "progspace.h"
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 323ea831d54..1dc0587c007 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "target.h"
#include "gdbtypes.h"
#include "command.h"
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 2d38f41cd7f..be95034abd5 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -22,7 +22,6 @@
/* Portions of this file were taken from the original gdb-4.18 patch developed
by Denis Chertykov, denisc@overta.ru */
-#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index f6d2bc5772b..ae0992a298a 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "symtab.h"
#include "symfile.h"
#include "gdbtypes.h"
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index 19c684c04e0..3d007456a52 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -21,7 +21,6 @@
dependencies, since we want to be able to use them in contexts
outside of GDB (test suites, the stub, etc.) */
-#include "defs.h"
#include "ax.h"
#include "gdbarch.h"
diff --git a/gdb/bcache.c b/gdb/bcache.c
index 674ba796833..a9aab28ab84 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "bcache.h"
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c
index 296e767d026..96e045e4e52 100644
--- a/gdb/bfd-target.c
+++ b/gdb/bfd-target.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "target.h"
#include "bfd-target.h"
#include "exec.h"
diff --git a/gdb/bfin-linux-tdep.c b/gdb/bfin-linux-tdep.c
index 31aa14765ae..f67e06478eb 100644
--- a/gdb/bfin-linux-tdep.c
+++ b/gdb/bfin-linux-tdep.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "regcache.h"
#include "tramp-frame.h"
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 357866ef953..dbc339d9336 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "arch-utils.h"
diff --git a/gdb/block.c b/gdb/block.c
index 6d0d33fa85e..511689c9738 100644
--- a/gdb/block.c
+++ b/gdb/block.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "block.h"
#include "symtab.h"
#include "symfile.h"
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 451818332de..b7c751300cb 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "symtab.h"
#include "bfd.h"
#include "objfiles.h"
diff --git a/gdb/bpf-tdep.c b/gdb/bpf-tdep.c
index 1b3f3e72c5b..098a08aa7e7 100644
--- a/gdb/bpf-tdep.c
+++ b/gdb/bpf-tdep.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame.h"
diff --git a/gdb/break-catch-exec.c b/gdb/break-catch-exec.c
index 35b126ce904..bd412fccdb7 100644
--- a/gdb/break-catch-exec.c
+++ b/gdb/break-catch-exec.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"
diff --git a/gdb/break-catch-fork.c b/gdb/break-catch-fork.c
index 9417babdbd1..afbd84741f2 100644
--- a/gdb/break-catch-fork.c
+++ b/gdb/break-catch-fork.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index 9582a7ccaad..ce30b6fd427 100644
--- a/gdb/break-catch-load.c
+++ b/gdb/break-catch-load.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index b1cee147ef1..f077fa29a0c 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index e5ddd835c92..a0e6e6788fe 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c
index d053bd5fbe0..ce614ac8fe3 100644
--- a/gdb/break-catch-throw.c
+++ b/gdb/break-catch-throw.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 39c13107ba2..053d17df03e 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "hashtab.h"
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 76021df1ed5..a1020b05b19 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define _KMEMUSER
-#include "defs.h"
#include "cli/cli-cmds.h"
#include "command.h"
#include "filenames.h"
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index 10e2ca5939e..576a9ec1cfb 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "inferior.h"
diff --git a/gdb/bt-utils.c b/gdb/bt-utils.c
index 6f68e269c51..cbca4a9b7b8 100644
--- a/gdb/bt-utils.c
+++ b/gdb/bt-utils.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "bt-utils.h"
#include "command.h"
#include "gdbcmd.h"
diff --git a/gdb/btrace.c b/gdb/btrace.c
index b5a047b245b..04ae3fd0b5e 100644
--- a/gdb/btrace.c
+++ b/gdb/btrace.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "btrace.h"
#include "gdbthread.h"
#include "inferior.h"
diff --git a/gdb/build-id.c b/gdb/build-id.c
index a40c56087ed..d1ebd8d37d7 100644
--- a/gdb/build-id.c
+++ b/gdb/build-id.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "bfd.h"
#include "gdb_bfd.h"
#include "build-id.h"
diff --git a/gdb/buildsym-legacy.c b/gdb/buildsym-legacy.c
index 84bc96e843b..a2d786b4877 100644
--- a/gdb/buildsym-legacy.c
+++ b/gdb/buildsym-legacy.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "buildsym-legacy.h"
#include "symtab.h"
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 506110989bf..1c762ad81bf 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "buildsym-legacy.h"
#include "bfd.h"
#include "gdbsupport/gdb_obstack.h"
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index fb85914805c..459a4cf1e8f 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -35,7 +35,6 @@
%{
-#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index cc33aad088e..922bf8c0de3 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index da269dae13b..3e299356308 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "bfd.h"
#include "symtab.h"
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 8911a169604..28a6a6afea2 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
diff --git a/gdb/c-varobj.c b/gdb/c-varobj.c
index 4a747644909..4751f0a957a 100644
--- a/gdb/c-varobj.c
+++ b/gdb/c-varobj.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "value.h"
#include "varobj.h"
#include "gdbthread.h"
diff --git a/gdb/charset.c b/gdb/charset.c
index 2b759495f17..4c1debef614 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "charset.h"
#include "gdbcmd.h"
#include "gdbsupport/gdb_obstack.h"
diff --git a/gdb/cli-out.c b/gdb/cli-out.c
index 2a1e72125f9..1c303f09662 100644
--- a/gdb/cli-out.c
+++ b/gdb/cli-out.c
@@ -20,7 +20,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "ui-out.h"
#include "cli-out.h"
#include "completer.h"
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index df11f956245..3afe2178199 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "arch-utils.h"
#include "readline/tilde.h"
#include "completer.h"
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index bbabd40db07..d9a2ab40575 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "symtab.h"
#include <ctype.h>
#include "gdbsupport/gdb_regex.h"
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 765117bcbb5..9b44c6edcf2 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
#include "cli/cli-decode.h"
#include "cli/cli-cmds.h"
#include "value.h"
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c
index a0bf32fd585..7cefc3902d8 100644
--- a/gdb/cli/cli-interp.c
+++ b/gdb/cli/cli-interp.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
[...]
[diff truncated at 100000 bytes]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-27 1:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 1:14 [binutils-gdb] gdb, gdbserver, gdbsupport: remove includes of early headers Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).