From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id 975543849AE1 for ; Fri, 19 Apr 2024 14:55:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 975543849AE1 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 975543849AE1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::12d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713538511; cv=none; b=wFk8MLWUbus9kQUy9Q/az+ndVGkHeMNLw/cYnur8Sj8vMM583417ibVbPnEeCSqWLzhBMpDHk0etKwEAx6PrmVtaW7bw7rJPWGNSESILkSVi4QPf/uF4EsaWhANV5ZtNYbuFHhMULGd3DPfoAgl+32s7txKe6RhXZhKpvnw/Lss= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713538511; c=relaxed/simple; bh=EzBDKHa8dRF8MyFE/nD5J8wbTFWkfDzafLIR6H3DrIE=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=UUe9zQ10TvZr6ClGq/8LMhoIOOilCVTTXJJS2f5HOIwIS6pRahz8FAxb5+80uYauBE54c7YD8k9HGvRLQ/h/p68PHEhwksXL4OKIVwuGRz68O5anruURHiIRgL6sy5tpC/2xgu/qlsX/dYg4/pZ55b+qHK/i7OJWXL66GpX3ANQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-36afb4b4a3eso7316465ab.3 for ; Fri, 19 Apr 2024 07:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713538505; x=1714143305; darn=sourceware.org; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:from:to:cc:subject:date:message-id:reply-to; bh=1DgLRKGp4gWD9Q1LOia658IFrD1U8bvNDxnBuubpjuI=; b=JTl5ZO1LkQ1obkR7BvOLQ2Xv/VX/Itse/VgPRLtvviegSWmQAUJKOOFu/SzzTJYU0m dcbjepVW1HWxpsjMo1+gUGJfcQnHQm/vpq7/BkHVpOH4LyYKzEZfkML229enMiKTKp+e jm5br14/xlXlCTNs14LtuON62K1C2uKXXiUl2RhycpMbGKibCk0VpYmBpMj84TOEusmp Dkq6SIBYG9Oaxu5c70wekiAmiBdPnPZMdJDau03mXS1ePVw2hamIyCZo9dZJ91gUP4xy 6XpijqjPQquIipn0gH/E7JPPE9EvgMMYpaythrmLAq5hqmpcoLIOzinpfdxVi+D86YEI UocA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713538505; x=1714143305; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1DgLRKGp4gWD9Q1LOia658IFrD1U8bvNDxnBuubpjuI=; b=edt5dT6LXdYZ7n1unWLePoO1st2i1QrdQ5UsioXUWtlECp7rUaYJqswwBOY+SVJD9K BWE9Hbo6W7iV5wtmJUDkAaSsrwvJGkp2oDJdlBSmWYt14qMq5bhkyjZypgr4fajd0lmF r8AWFuYu0RpNfcWE1bGuaIOeX8B90j5goLK9seekMaYUGwaCiroE2Ac8ClMfero8TPHI wV7mKciZjDJ74zMIQ5GaZo5N9dtSIiB0oxjNjnLA+goDzxA+Tpv48G2Mkz3UAnEtBdEQ wsm5mFxwEVS+awo5S3ccS0kgyJZe9CsNssLAAgQA2qKICqu4jPan1HvwIJR1hFZKO1X+ Ib0w== X-Gm-Message-State: AOJu0YxWMzd/ihI8HG7UMX7NNxdZODGm1YeSAjAJznRRLifAoihveonI h3jReIq3eb1vx3IOirUWCfjvppd9Upoq4/PUWA5QmGhJL9e8nYMmq6FNK/NSqiw2uu/dqQgrWjw = X-Google-Smtp-Source: AGHT+IFLDpPMgO/c6K42IsbkbqggMHW0Y1n1avT4WlKRMYfWM7cXjzE19PKPJNVipFonZJE2IrZNhg== X-Received: by 2002:a05:6e02:1d97:b0:36b:3bb4:66e with SMTP id h23-20020a056e021d9700b0036b3bb4066emr2754260ila.26.1713538504435; Fri, 19 Apr 2024 07:55:04 -0700 (PDT) Received: from localhost.localdomain (97-122-86-252.hlrn.qwest.net. [97.122.86.252]) by smtp.gmail.com with ESMTPSA id u14-20020a056e02110e00b0036b1aa58c5dsm828448ilk.15.2024.04.19.07.55.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:55:04 -0700 (PDT) From: Tom Tromey Subject: [PATCH v3 0/4] Add include guard checker and reformatter Date: Fri, 19 Apr 2024 08:55:01 -0600 Message-Id: <20240419-header-check-v3-0-2f2a837c2976@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMWFImYC/3WNwQ6CMBAFf8X0bLUtFNCT/2E8lGVLG0NrtoRoC P9u4aQmHid582ZmCcljYufdzAgnn3wMGYr9joEzoUfuu8xMCVWKUtbcoemQODiEO68FyLbWFhR YlpUHofXP7e56y9yahLwlE8CtJ5F878NxMGlEWvfOpzHSa6tPcrX+hCbJBTeVsJUUVrcAF9MZi IQHiANbU5P61JsfXWW9VlqrU6NlJYpvfVmWN2TVjCQJAQAA To: gdb-patches@sourceware.org X-Mailer: b4 0.13.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: After the recent patch to fix an include guard misspelling, I thought I'd write a script to automatically check this. Then I realized I could have the script fix up the sources; and finally I figured out that it could be run from pre-commit. This series is the result. Regression tested on x86-64 Fedora 38. --- Changes in v3: - Trying again to address the reviews - Link to v2: https://inbox.sourceware.org/gdb-patches/20240418-header-check-v2-0-725529851603@adacore.com Changes in v2: - Changed script to not emit errors when updating files - Don't crash on empty headers - Addressed Simon's review comments - Link to v1: https://inbox.sourceware.org/gdb-patches/20240417-header-check-v1-0-a60f610f5bcc@adacore.com --- Tom Tromey (4): Fix some minor header file irregularities Add an include-checking script Add check-include-guards.py to pre-commit Run check-include-guards.py .pre-commit-config.yaml | 10 +++ gdb/aarch32-linux-nat.h | 6 +- gdb/aarch32-tdep.h | 6 +- gdb/aarch64-fbsd-tdep.h | 6 +- gdb/aarch64-linux-tdep.h | 6 +- gdb/aarch64-nat.h | 6 +- gdb/aarch64-ravenscar-thread.h | 6 +- gdb/aarch64-tdep.h | 6 +- gdb/ada-exp.h | 6 +- gdb/ada-lang.h | 6 +- gdb/addrmap.h | 6 +- gdb/alpha-bsd-tdep.h | 6 +- gdb/alpha-tdep.h | 6 +- gdb/amd-dbgapi-target.h | 6 +- gdb/amd64-bsd-nat.h | 6 +- gdb/amd64-darwin-tdep.h | 6 +- gdb/amd64-fbsd-tdep.h | 6 +- gdb/amd64-linux-tdep.h | 6 +- gdb/amd64-nat.h | 6 +- gdb/amd64-ravenscar-thread.h | 6 +- gdb/amd64-tdep.h | 6 +- gdb/amdgpu-tdep.h | 6 +- gdb/annotate.h | 6 +- gdb/arc-linux-tdep.h | 6 +- gdb/arc-tdep.h | 6 +- gdb/arch-utils.h | 6 +- gdb/arch/aarch32.h | 6 +- gdb/arch/aarch64-insn.h | 6 +- gdb/arch/aarch64-mte-linux.h | 6 +- gdb/arch/aarch64-scalable-linux.h | 6 +- gdb/arch/aarch64.h | 6 +- gdb/arch/amd64.h | 6 +- gdb/arch/arc.h | 6 +- gdb/arch/arm-get-next-pcs.h | 6 +- gdb/arch/arm-linux.h | 6 +- gdb/arch/arm.h | 6 +- gdb/arch/csky.h | 6 +- gdb/arch/i386.h | 6 +- gdb/arch/loongarch.h | 6 +- gdb/arch/ppc-linux-common.h | 6 +- gdb/arch/ppc-linux-tdesc.h | 6 +- gdb/arch/riscv.h | 6 +- gdb/arch/tic6x.h | 6 +- gdb/arch/xtensa.h | 6 +- gdb/arm-fbsd-tdep.h | 6 +- gdb/arm-linux-tdep.h | 6 +- gdb/arm-netbsd-tdep.h | 6 +- gdb/arm-tdep.h | 6 +- gdb/async-event.h | 6 +- gdb/auto-load.h | 6 +- gdb/auxv.h | 6 +- gdb/ax-gdb.h | 6 +- gdb/ax.h | 6 +- gdb/bcache.h | 6 +- gdb/bfd-target.h | 6 +- gdb/bfin-tdep.h | 6 +- gdb/block.h | 6 +- gdb/breakpoint.h | 6 +- gdb/bsd-kvm.h | 6 +- gdb/bsd-uthread.h | 6 +- gdb/bt-utils.h | 6 +- gdb/btrace.h | 6 +- gdb/build-id.h | 6 +- gdb/buildsym-legacy.h | 6 +- gdb/buildsym.h | 6 +- gdb/c-exp.h | 6 +- gdb/c-lang.h | 6 +- gdb/c-support.h | 6 +- gdb/cgen-remap.h | 6 +- gdb/charset-list.h | 6 +- gdb/charset.h | 6 +- gdb/check-include-guards.py | 110 ++++++++++++++++++++++++++++ gdb/cli-out.h | 6 +- gdb/cli/cli-cmds.h | 6 +- gdb/cli/cli-decode.h | 6 +- gdb/cli/cli-interp.h | 6 +- gdb/cli/cli-option.h | 6 +- gdb/cli/cli-script.h | 6 +- gdb/cli/cli-setshow.h | 6 +- gdb/cli/cli-style.h | 6 +- gdb/cli/cli-utils.h | 6 +- gdb/coff-pe-read.h | 6 +- gdb/command.h | 6 +- gdb/compile/compile-c.h | 6 +- gdb/compile/compile-cplus.h | 6 +- gdb/compile/compile-internal.h | 6 +- gdb/compile/compile-object-load.h | 6 +- gdb/compile/compile-object-run.h | 6 +- gdb/compile/compile.h | 6 +- gdb/compile/gcc-c-plugin.h | 6 +- gdb/compile/gcc-cp-plugin.h | 6 +- gdb/complaints.h | 6 +- gdb/completer.h | 6 +- gdb/config/nm-linux.h | 6 +- gdb/config/nm-nto.h | 6 +- gdb/cp-abi.h | 6 +- gdb/cp-support.h | 6 +- gdb/cris-tdep.h | 6 +- gdb/csky-tdep.h | 6 +- gdb/ctfread.h | 6 +- gdb/d-lang.h | 6 +- gdb/darwin-nat.h | 6 +- gdb/dcache.h | 6 +- gdb/debuginfod-support.h | 6 +- gdb/defs.h | 6 +- gdb/dicos-tdep.h | 6 +- gdb/dictionary.h | 6 +- gdb/disasm-flags.h | 7 +- gdb/disasm.h | 6 +- gdb/displaced-stepping.h | 6 +- gdb/dummy-frame.h | 6 +- gdb/dwarf2/call-site.h | 6 +- gdb/dwarf2/comp-unit-head.h | 6 +- gdb/dwarf2/expr.h | 6 +- gdb/dwarf2/frame-tailcall.h | 6 +- gdb/dwarf2/frame.h | 6 +- gdb/dwarf2/index-cache.h | 6 +- gdb/dwarf2/index-common.h | 6 +- gdb/dwarf2/index-write.h | 6 +- gdb/dwarf2/line-header.h | 6 +- gdb/dwarf2/loc.h | 6 +- gdb/dwarf2/public.h | 6 +- gdb/dwarf2/read-debug-names.h | 6 +- gdb/dwarf2/read-gdb-index.h | 6 +- gdb/dwarf2/read.h | 6 +- gdb/dwarf2/types.h | 6 +- gdb/elf-none-tdep.h | 6 +- gdb/event-top.h | 6 +- gdb/exceptions.h | 6 +- gdb/exec.h | 6 +- gdb/expop.h | 6 +- gdb/expression.h | 6 +- gdb/extension-priv.h | 6 +- gdb/extension.h | 6 +- gdb/f-array-walker.h | 6 +- gdb/f-exp.h | 6 +- gdb/f-lang.h | 6 +- gdb/fbsd-nat.h | 6 +- gdb/fbsd-tdep.h | 6 +- gdb/filename-seen-cache.h | 6 +- gdb/filesystem.h | 6 +- gdb/frame-base.h | 6 +- gdb/frame-id.h | 4 +- gdb/frame-unwind.h | 6 +- gdb/frame.h | 6 +- gdb/frv-tdep.h | 6 +- gdb/ft32-tdep.h | 6 +- gdb/gcore-elf.h | 6 +- gdb/gcore.h | 6 +- gdb/gdb-demangle.h | 6 +- gdb/gdb-stabs.h | 6 +- gdb/gdb_bfd.h | 6 +- gdb/gdb_curses.h | 6 +- gdb/gdb_expat.h | 6 +- gdb/gdb_proc_service.h | 6 +- gdb/gdb_vfork.h | 6 +- gdb/gdb_wchar.h | 6 +- gdb/gdbarch.h | 6 +- gdb/gdbcmd.h | 6 +- gdb/gdbcore.h | 6 +- gdb/gdbthread.h | 6 +- gdb/gdbtypes.h | 7 +- gdb/glibc-tdep.h | 6 +- gdb/gmp-utils.h | 6 +- gdb/gnu-nat-mig.h | 6 +- gdb/gnu-nat.h | 6 +- gdb/go-lang.h | 6 +- gdb/gregset.h | 6 +- gdb/guile/guile-internal.h | 6 +- gdb/guile/guile.h | 6 +- gdb/hppa-bsd-tdep.h | 6 +- gdb/hppa-linux-offsets.h | 6 +- gdb/hppa-tdep.h | 6 +- gdb/i386-bsd-nat.h | 6 +- gdb/i386-darwin-tdep.h | 6 +- gdb/i386-fbsd-tdep.h | 6 +- gdb/i386-linux-nat.h | 6 +- gdb/i386-linux-tdep.h | 6 +- gdb/i386-tdep.h | 6 +- gdb/i387-tdep.h | 6 +- gdb/ia64-libunwind-tdep.h | 6 +- gdb/ia64-tdep.h | 6 +- gdb/inf-child.h | 6 +- gdb/inf-loop.h | 6 +- gdb/inf-ptrace.h | 6 +- gdb/infcall.h | 6 +- gdb/inferior-iter.h | 6 +- gdb/inferior.h | 6 +- gdb/infrun.h | 6 +- gdb/inline-frame.h | 6 +- gdb/interps.h | 6 +- gdb/jit.h | 6 +- gdb/language.h | 6 +- gdb/linespec.h | 6 +- gdb/linux-fork.h | 6 +- gdb/linux-nat-trad.h | 6 +- gdb/linux-nat.h | 6 +- gdb/linux-record.h | 6 +- gdb/linux-tdep.h | 6 +- gdb/location.h | 6 +- gdb/loongarch-tdep.h | 6 +- gdb/m2-exp.h | 6 +- gdb/m2-lang.h | 6 +- gdb/m32r-tdep.h | 6 +- gdb/m68k-tdep.h | 6 +- gdb/macroexp.h | 6 +- gdb/macroscope.h | 6 +- gdb/macrotab.h | 6 +- gdb/main.h | 6 +- gdb/maint.h | 6 +- gdb/mdebugread.h | 6 +- gdb/memattr.h | 6 +- gdb/memory-map.h | 6 +- gdb/memrange.h | 6 +- gdb/memtag.h | 6 +- gdb/mi/mi-cmd-break.h | 6 +- gdb/mi/mi-cmds.h | 6 +- gdb/mi/mi-common.h | 6 +- gdb/mi/mi-console.h | 6 +- gdb/mi/mi-getopt.h | 6 +- gdb/mi/mi-interp.h | 6 +- gdb/mi/mi-main.h | 6 +- gdb/mi/mi-out.h | 6 +- gdb/mi/mi-parse.h | 6 +- gdb/microblaze-tdep.h | 6 +- gdb/minsyms.h | 6 +- gdb/mips-fbsd-tdep.h | 6 +- gdb/mips-linux-tdep.h | 6 +- gdb/mips-netbsd-tdep.h | 6 +- gdb/mips-tdep.h | 6 +- gdb/mn10300-tdep.h | 6 +- gdb/moxie-tdep.h | 6 +- gdb/namespace.h | 6 +- gdb/nat/aarch64-hw-point.h | 6 +- gdb/nat/aarch64-linux-hw-point.h | 6 +- gdb/nat/aarch64-linux.h | 6 +- gdb/nat/aarch64-mte-linux-ptrace.h | 6 +- gdb/nat/aarch64-scalable-linux-ptrace.h | 6 +- gdb/nat/aarch64-scalable-linux-sigcontext.h | 6 +- gdb/nat/amd64-linux-siginfo.h | 6 +- gdb/nat/fork-inferior.h | 6 +- gdb/nat/gdb_ptrace.h | 6 +- gdb/nat/gdb_thread_db.h | 6 +- gdb/nat/glibc_thread_db.h | 6 +- gdb/nat/linux-btrace.h | 6 +- gdb/nat/linux-namespaces.h | 6 +- gdb/nat/linux-nat.h | 6 +- gdb/nat/linux-osdata.h | 6 +- gdb/nat/linux-personality.h | 6 +- gdb/nat/linux-procfs.h | 6 +- gdb/nat/linux-ptrace.h | 6 +- gdb/nat/linux-waitpid.h | 6 +- gdb/nat/mips-linux-watch.h | 6 +- gdb/nat/netbsd-nat.h | 6 +- gdb/nat/ppc-linux.h | 6 +- gdb/nat/riscv-linux-tdesc.h | 6 +- gdb/nat/windows-nat.h | 6 +- gdb/nat/x86-cpuid.h | 6 +- gdb/nat/x86-dregs.h | 6 +- gdb/nat/x86-gcc-cpuid.h | 6 +- gdb/nat/x86-linux-dregs.h | 6 +- gdb/nat/x86-linux.h | 6 +- gdb/nat/x86-xstate.h | 6 +- gdb/nds32-tdep.h | 6 +- gdb/netbsd-nat.h | 6 +- gdb/netbsd-tdep.h | 6 +- gdb/nios2-tdep.h | 6 +- gdb/nto-tdep.h | 6 +- gdb/objc-lang.h | 6 +- gdb/objfile-flags.h | 6 +- gdb/objfiles.h | 6 +- gdb/obsd-nat.h | 6 +- gdb/obsd-tdep.h | 6 +- gdb/observable.h | 6 +- gdb/or1k-linux-tdep.h | 6 +- gdb/or1k-tdep.h | 6 +- gdb/osabi.h | 6 +- gdb/osdata.h | 6 +- gdb/p-lang.h | 6 +- gdb/parser-defs.h | 7 +- gdb/ppc-fbsd-tdep.h | 6 +- gdb/ppc-linux-tdep.h | 6 +- gdb/ppc-netbsd-tdep.h | 6 +- gdb/ppc-obsd-tdep.h | 6 +- gdb/ppc-ravenscar-thread.h | 6 +- gdb/ppc-tdep.h | 6 +- gdb/ppc64-tdep.h | 6 +- gdb/probe.h | 6 +- gdb/proc-utils.h | 6 +- gdb/process-stratum-target.h | 6 +- gdb/procfs.h | 6 +- gdb/producer.h | 6 +- gdb/progspace-and-thread.h | 6 +- gdb/progspace.h | 6 +- gdb/prologue-value.h | 6 +- gdb/psymtab.h | 6 +- gdb/python/py-event.h | 6 +- gdb/python/py-events.h | 6 +- gdb/python/py-instruction.h | 6 +- gdb/python/py-record-btrace.h | 6 +- gdb/python/py-record-full.h | 6 +- gdb/python/py-record.h | 6 +- gdb/python/py-ref.h | 6 +- gdb/python/py-stopevent.h | 6 +- gdb/python/python-internal.h | 6 +- gdb/python/python.h | 6 +- gdb/ravenscar-thread.h | 6 +- gdb/record-btrace.h | 6 +- gdb/record-full.h | 6 +- gdb/record.h | 6 +- gdb/regcache.h | 6 +- gdb/regformats/regdef.h | 6 +- gdb/reggroups.h | 6 +- gdb/registry.h | 6 +- gdb/regset.h | 6 +- gdb/remote-fileio.h | 6 +- gdb/remote-notif.h | 6 +- gdb/remote.h | 6 +- gdb/riscv-fbsd-tdep.h | 6 +- gdb/riscv-ravenscar-thread.h | 6 +- gdb/riscv-tdep.h | 6 +- gdb/rs6000-aix-tdep.h | 6 +- gdb/rust-exp.h | 6 +- gdb/rust-lang.h | 6 +- gdb/s390-linux-tdep.h | 6 +- gdb/s390-tdep.h | 6 +- gdb/scoped-mock-context.h | 6 +- gdb/selftest-arch.h | 6 +- gdb/sentinel-frame.h | 6 +- gdb/ser-base.h | 6 +- gdb/ser-event.h | 6 +- gdb/ser-tcp.h | 6 +- gdb/ser-unix.h | 6 +- gdb/serial.h | 6 +- gdb/sh-tdep.h | 6 +- gdb/sim-regno.h | 6 +- gdb/skip.h | 6 +- gdb/sol2-tdep.h | 6 +- gdb/solib-aix.h | 6 +- gdb/solib-darwin.h | 6 +- gdb/solib-dsbt.h | 6 +- gdb/solib-svr4.h | 6 +- gdb/solib-target.h | 6 +- gdb/solib.h | 6 +- gdb/solist.h | 6 +- gdb/source-cache.h | 6 +- gdb/source.h | 6 +- gdb/sparc-nat.h | 6 +- gdb/sparc-ravenscar-thread.h | 6 +- gdb/sparc-tdep.h | 6 +- gdb/sparc64-tdep.h | 6 +- gdb/stabsread.h | 6 +- gdb/stack.h | 6 +- gdb/stap-probe.h | 6 +- gdb/symfile-add-flags.h | 6 +- gdb/symfile.h | 6 +- gdb/symtab.h | 6 +- gdb/target-connection.h | 6 +- gdb/target-dcache.h | 6 +- gdb/target-debug.h | 6 +- gdb/target-descriptions.h | 6 +- gdb/target-float.h | 6 +- gdb/target.h | 6 +- gdb/target/resume.h | 6 +- gdb/target/target.h | 6 +- gdb/target/wait.h | 6 +- gdb/target/waitstatus.h | 6 +- gdb/terminal.h | 6 +- gdb/test-target.h | 6 +- gdb/thread-fsm.h | 6 +- gdb/thread-iter.h | 6 +- gdb/tic6x-tdep.h | 6 +- gdb/tid-parse.h | 6 +- gdb/tilegx-tdep.h | 6 +- gdb/top.h | 6 +- gdb/tracectf.h | 6 +- gdb/tracefile.h | 24 +++++- gdb/tracepoint.h | 6 +- gdb/trad-frame.h | 6 +- gdb/tramp-frame.h | 6 +- gdb/tui/tui-command.h | 6 +- gdb/tui/tui-data.h | 6 +- gdb/tui/tui-disasm.h | 6 +- gdb/tui/tui-file.h | 6 +- gdb/tui/tui-hooks.h | 6 +- gdb/tui/tui-io.h | 6 +- gdb/tui/tui-layout.h | 6 +- gdb/tui/tui-location.h | 6 +- gdb/tui/tui-regs.h | 6 +- gdb/tui/tui-source.h | 6 +- gdb/tui/tui-status.h | 6 +- gdb/tui/tui-win.h | 6 +- gdb/tui/tui-wingeneral.h | 6 +- gdb/tui/tui-winsource.h | 6 +- gdb/tui/tui.h | 6 +- gdb/type-stack.h | 6 +- gdb/typeprint.h | 6 +- gdb/ui-file.h | 6 +- gdb/ui-out.h | 6 +- gdb/ui-style.h | 6 +- gdb/ui.h | 6 +- gdb/user-regs.h | 6 +- gdb/utils.h | 6 +- gdb/valprint.h | 6 +- gdb/value.h | 6 +- gdb/varobj-iter.h | 6 +- gdb/varobj.h | 6 +- gdb/vax-tdep.h | 6 +- gdb/windows-nat.h | 7 +- gdb/windows-tdep.h | 6 +- gdb/x86-bsd-nat.h | 6 +- gdb/x86-fbsd-nat.h | 6 +- gdb/x86-linux-nat.h | 6 +- gdb/x86-nat.h | 6 +- gdb/x86-tdep.h | 6 +- gdb/xcoffread.h | 6 +- gdb/xml-builtin.h | 6 +- gdb/xml-support.h | 6 +- gdb/xml-syscall.h | 6 +- gdb/xml-tdesc.h | 7 +- gdb/xtensa-tdep.h | 6 +- gdb/yy-remap.h | 6 +- gdb/z80-tdep.h | 6 +- gdbserver/linux-aarch32-tdesc.h | 2 +- gdbserver/linux-arm-tdesc.h | 2 +- gdbsupport/agent.h | 6 +- gdbsupport/array-view.h | 6 +- gdbsupport/break-common.h | 6 +- gdbsupport/btrace-common.h | 6 +- gdbsupport/byte-vector.h | 6 +- gdbsupport/cleanups.h | 6 +- gdbsupport/common-debug.h | 6 +- gdbsupport/common-defs.h | 6 +- gdbsupport/common-exceptions.h | 6 +- gdbsupport/common-gdbthread.h | 6 +- gdbsupport/common-inferior.h | 6 +- gdbsupport/common-regcache.h | 6 +- gdbsupport/common-types.h | 6 +- gdbsupport/common-utils.h | 6 +- gdbsupport/def-vector.h | 6 +- gdbsupport/default-init-alloc.h | 6 +- gdbsupport/enum-flags.h | 6 +- gdbsupport/environ.h | 6 +- gdbsupport/errors.h | 6 +- gdbsupport/event-loop.h | 6 +- gdbsupport/event-pipe.h | 6 +- gdbsupport/fileio.h | 6 +- gdbsupport/filestuff.h | 6 +- gdbsupport/filtered-iterator.h | 6 +- gdbsupport/format.h | 6 +- gdbsupport/forward-scope-exit.h | 6 +- gdbsupport/function-view.h | 6 +- gdbsupport/gdb-checked-static-cast.h | 6 +- gdbsupport/gdb-dlfcn.h | 6 +- gdbsupport/gdb-safe-ctype.h | 6 +- gdbsupport/gdb_assert.h | 6 +- gdbsupport/gdb_file.h | 6 +- gdbsupport/gdb_locale.h | 6 +- gdbsupport/gdb_obstack.h | 6 +- gdbsupport/gdb_proc_service.h | 6 +- gdbsupport/gdb_ref_ptr.h | 6 +- gdbsupport/gdb_regex.h | 6 +- gdbsupport/gdb_select.h | 6 +- gdbsupport/gdb_setjmp.h | 6 +- gdbsupport/gdb_signals.h | 6 +- gdbsupport/gdb_splay_tree.h | 6 +- gdbsupport/gdb_sys_time.h | 6 +- gdbsupport/gdb_tilde_expand.h | 6 +- gdbsupport/gdb_unique_ptr.h | 6 +- gdbsupport/gdb_unlinker.h | 6 +- gdbsupport/gdb_vecs.h | 6 +- gdbsupport/gdb_wait.h | 6 +- gdbsupport/hash_enum.h | 6 +- gdbsupport/host-defs.h | 6 +- gdbsupport/job-control.h | 6 +- gdbsupport/netstuff.h | 6 +- gdbsupport/next-iterator.h | 6 +- gdbsupport/observable.h | 6 +- gdbsupport/offset-type.h | 6 +- gdbsupport/packed.h | 6 +- gdbsupport/pathstuff.h | 6 +- gdbsupport/poison.h | 6 +- gdbsupport/preprocessor.h | 6 +- gdbsupport/print-utils.h | 6 +- gdbsupport/ptid.h | 6 +- gdbsupport/refcounted-object.h | 6 +- gdbsupport/rsp-low.h | 6 +- gdbsupport/run-time-clock.h | 6 +- gdbsupport/safe-iterator.h | 6 +- gdbsupport/scope-exit.h | 6 +- gdbsupport/scoped_fd.h | 6 +- gdbsupport/scoped_ignore_signal.h | 6 +- gdbsupport/scoped_ignore_sigttou.h | 6 +- gdbsupport/scoped_mmap.h | 6 +- gdbsupport/scoped_restore.h | 6 +- gdbsupport/search.h | 6 +- gdbsupport/selftest.h | 6 +- gdbsupport/signals-state-save-restore.h | 6 +- gdbsupport/symbol.h | 6 +- gdbsupport/tdesc.h | 6 +- gdbsupport/traits.h | 6 +- gdbsupport/underlying.h | 6 +- gdbsupport/valid-expr.h | 6 +- gdbsupport/version.h | 6 +- gdbsupport/x86-xstate.h | 6 +- gdbsupport/xml-utils.h | 6 +- 506 files changed, 1645 insertions(+), 1512 deletions(-) --- base-commit: 0e6747d2a638693ad2f20e7929c8364913c87279 change-id: 20240417-header-check-70c1b75fc2cf Best regards, -- Tom Tromey