From patchwork Wed Apr 17 22:05:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 56887 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5632C3849AEC for ; Wed, 17 Apr 2024 22:06:01 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 79B1F3858D37 for ; Wed, 17 Apr 2024 22:05:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 79B1F3858D37 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 79B1F3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::134 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713391523; cv=none; b=xPR4mDNPMB1a8JQC+/PcUNMb1ABCWXGizbZrQryLRWZ9hgMotLVaqbqUNJLNyLWif631w5FuOdrIUpMFpCdXHJEimtUkuLYWWcaONTriI59N4o6dnm2SV2ygN2+YG4U5uqtzHis/INkOL35eSqRX9tat38BIbQ+vX14iBTSRIEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713391523; c=relaxed/simple; bh=jeXsCvH762vLuuKSBR+kh9qSCxaqO7PJezbpZzNLkDA=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=F39Zm3+/yL0of7u3zr8c1G85OI/0qsDrlxdzZmBVnkiL3Ze0AXqWmL3PIQgDkr/jOVfNqwa9emczS30dbpObtzzhO51m83rxHqIsqYldDZi2FG+8zTAxLO9G6vcfQVkmCXLfI905H3rlnhcjN9AxwP5tnUF18TW90BTclsSvyAQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-36b2ec387a9so838945ab.0 for ; Wed, 17 Apr 2024 15:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713391519; x=1713996319; 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=KyUXduwHnRbHcPHa0sQeFF2qzgSOphxjD9PBntYPuIY=; b=kQ7NKgso50c3pJ/XsrIXdUmgCh9W9e9PPg6sO/mY5sDlhiWnO7iLGgE05hyLzBP3A7 3ZXSNr4QPWM9xNYp6/sh5uDkfaS3y6dq1oJTi7Phn7cVPLUqoTu9GP7Ah9+xPPTWzdQY ZntKQYeMy6j6K1eZXo5Amu9mnRaDoKBcbLGDsWCIMhJt2kJDRPenTGe5TYb4ljHWyEgk 8RYv2qO09PtFaweJbDKFpO7Kwl0jdyJsYaDRdcJbJY3R5lpzhunWhSVityOgHZiWIiw4 bZD1OWi8wml8QHCJrRUq6KdT896TY9+Yz8cItxflLsPVMf/CDK4a+hRj/+manDQlL08k UGgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713391519; x=1713996319; 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=KyUXduwHnRbHcPHa0sQeFF2qzgSOphxjD9PBntYPuIY=; b=RXycZlJLwrJ1t+6jOQb50/38PQGZaeaT5MQrJf1hjTwWZNS9sTZeKKd51BrH5CKSyx 26ozRekOEz6ZXcxsPxO+lXQN1+/1w8GF+UkZrMRVtU4e9lMWPt5KdxdrVcA0wU0Jnl/Q 5MJ9xIesI2+hzpYn+trz/sGL1NNrUXVVSmi0WnY4idF6JEn9jO2I3hl3N54x3U5mlet7 x0zwcKiFyHIGBLjyDAisEsjiRgc+5S78abTIIZTzj/R0IhglaEMl3iUUJDGP0s/9gMF8 imuyRBkW0CFWn763ySsE4qMGGHlzF/gnLYai7KOl/M4F+ctMyfp90MuhBfV0TLsr6/+8 8WBQ== X-Gm-Message-State: AOJu0YxbI1tVgBfwukQvrtLzamDmRn5lV7oepGO5wEycJlgD3yRfWDYt 80WTSyfFPOsu+tG8Hn4WIiwST98UJF/RPap1tUiK/D1nh6DdWclHVVo+P4iU7itwrreMcvEHyNU = X-Google-Smtp-Source: AGHT+IG0WgZ5LlEnoBDRFxaBpMgl+VHoGuomV7CCDsN/ck8zAQj3VvCM1xS+RWCtlRdn7p8pKYWZjA== X-Received: by 2002:a05:6e02:1e0c:b0:36a:3c6a:ab49 with SMTP id g12-20020a056e021e0c00b0036a3c6aab49mr960017ila.15.1713391519342; Wed, 17 Apr 2024 15:05:19 -0700 (PDT) Received: from localhost.localdomain (97-122-82-115.hlrn.qwest.net. [97.122.82.115]) by smtp.gmail.com with ESMTPSA id 3-20020a056e020ca300b0036b2fce985dsm22985ilg.62.2024.04.17.15.05.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 15:05:18 -0700 (PDT) From: Tom Tromey Subject: [PATCH 0/4] Add include guard checker and reformatter Date: Wed, 17 Apr 2024 16:05:04 -0600 Message-Id: <20240417-header-check-v1-0-a60f610f5bcc@adacore.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJBHIGYC/x3MwQrCMAyA4VcZORtsy6Tgq4iHNkvXIHaSyBDG3 t1ux+/w/xsYq7DBfdhAeRWTpXX4ywBUU5sZZeqG4MLoRh+xcppYkSrTC6Mjn+OtUKACPfkoF/m du8ezOydjzJoa1WOyqMzSru9kX1bY9z+QbSUqfgAAAA== To: gdb-patches@sourceware.org X-Mailer: b4 0.13.0 X-Spam-Status: No, score=-5.3 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 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org 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. Also, it occurs to me now that we could add pre-commit hooks for other maintainer scripts, like gdbarch.py. I can look into that if it sounds interesting. --- 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 | 7 ++ 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 | 125 ++++++++++++++++++++++++++++ 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, 1657 insertions(+), 1512 deletions(-) --- base-commit: c7d73a715775ade814370212726d50ab4b7c6fe0 change-id: 20240417-header-check-70c1b75fc2cf Best regards,