From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OA1MN24/IWZWyjMAWB0awg (envelope-from ) for ; Thu, 18 Apr 2024 11:42:38 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=LudBroIv; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D68E71E0C0; Thu, 18 Apr 2024 11:42:38 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A70E61E092 for ; Thu, 18 Apr 2024 11:42:36 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 10E46384AB58 for ; Thu, 18 Apr 2024 15:42:36 +0000 (GMT) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by sourceware.org (Postfix) with ESMTPS id D482B3858D33 for ; Thu, 18 Apr 2024 15:41:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D482B3858D33 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 D482B3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d30 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713454925; cv=none; b=VsG2u/JTRDmY019OPHAuLbd81vBWPsP2mRHTTArrL2zddhJROD5bC3BGjMcg6KU67UZ3frnio3TldgWWvN/ISUD4tZ6QU9q+7bAZt/M99VQAQNX5bwzyQLMM1ZgD3xFAQ0hHh0V1QqxXG8WQ1QMUCfE4lRVPZMsFil96U2IdstY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713454925; c=relaxed/simple; bh=33P8tGjXwa8OgiqWvXAh+Fv02JlAkJCc1GmFptm52Vo=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=pVXiqRqwS235XRNf8efbEKm3AGdM4PqWW2Q310ruR7+ZjXUp7WFpyV/I1WCPSgq1VzYOJQinE+pCBNQhTr6dWWhy6s7q/sO38A/narSyltuHzDdOfDWt+AUr+h+6VGlNTxLSPZPSl6SSF+LWIkUCSdcWFaqCUu5PAvg7uZZSKOE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-7d0262036afso37087439f.3 for ; Thu, 18 Apr 2024 08:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713454919; x=1714059719; 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=JNrMvcOuX10oegjJNtsCP3qEkjbmTtixbCoLuUPK+9Y=; b=LudBroIvD4D4Mh2V27AD7TrvCdl39bJ/N20Zi4kAsItKtITP49mKygOUQyT4dI5QLg 5WqolTikEuSKzIoxhw3HRBgX7lyMqZ8yuUgeR/OT+JdLUXrRAOdZMz/aUA9vk3aEU0kL UISGpp6P2Jmo0DhSVaPN9gYjfL9ATvJsc96Mav6zt8m3wLd5tx/xaYoHjzOhhgSboSIR ryq428/PjA37OhaETl1+QaseKfAIC7Je/W9lHLy9uD89WmqCLcYqEeYqawHsV1N0/Chy oa8xI9xEj6WGzAQjNAs65A9cbhGlkxqJSWfivHgPEju4+vlwQj0PetQ2hPGBAhqMvsna 2ZVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713454919; x=1714059719; 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=JNrMvcOuX10oegjJNtsCP3qEkjbmTtixbCoLuUPK+9Y=; b=Y3535wvJ7QPVCdZAWImzPXvcRJ9uo02N+onwoU42pL+eO/RlaLrwdKqO6SkAM6xeqS VmDUbe6WB73/KrtwEVC15d6Xer6HTidwQv21IIFM9aOz9KH6JC3Ll6OA6D+iS4rFZ2Q8 JzvrFMx59XieslwlzO142+z/Z3WQj3vbqj6AnDlsWjOY/Ue3VKjH360/XVeoATzEZhrf fBK9ExJR+q6ZtXDpkfUwLWQarYhZoGRu19AdoEIDpCMB9P2DyKuZRBRDXNRg37sIyFkk K8nNp9U/OQyYMNEReaDSdrLk8MTGh8MQ0ZsKvGhoR3iy9oAjj3uK64rUfPOtSOJc9PKy XB3Q== X-Gm-Message-State: AOJu0YwRRMm5HVVJGNwAsWYoy4DFIObqNk0nPflBh2z4g5/ovEoyu3Du Cn+gunm9yCWyHOdUa2bZwMuQmcHzMy73QUpeprOv+hExepOXirVoV+axru8y1vic5d7v+2+FXK4 = X-Google-Smtp-Source: AGHT+IEREEW3nUFgf6aQhEwH8l11aJjArshr6euiTwkpZZXNRDcEGDowXLLrbETaaGq1kTgJRJK3KQ== X-Received: by 2002:a6b:da0e:0:b0:7da:836:5d82 with SMTP id x14-20020a6bda0e000000b007da08365d82mr4241633iob.7.1713454918657; Thu, 18 Apr 2024 08:41:58 -0700 (PDT) Received: from localhost.localdomain (97-122-82-115.hlrn.qwest.net. [97.122.82.115]) by smtp.gmail.com with ESMTPSA id f5-20020a05660215c500b007d5e449ad60sm397412iow.22.2024.04.18.08.41.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:41:58 -0700 (PDT) From: Tom Tromey Subject: [PATCH v2 0/4] Add include guard checker and reformatter Date: Thu, 18 Apr 2024 09:41:55 -0600 Message-Id: <20240418-header-check-v2-0-725529851603@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEM/IWYC/3WNywqDMBBFf0Wybtok+ICu+h/FxWScmKFoykSkR fz3RvddHrj3nE1lEqas7tWmhFbOnOYC7lIpjDCPpHkorJxxtaltpyPBQKIxEr50Z9D6rgnoMKh yeQsF/py6Z1/YQybtBWaMhyQJjzzfJsgLybGPnJck37O+2uP1J7RabTS0JrTWhMYjPmAATEJXT JPq933/AaGgyLjKAAAA 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+public-inbox=simark.ca@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. --- 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 | 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 | 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, 1642 insertions(+), 1512 deletions(-) --- base-commit: c7d73a715775ade814370212726d50ab4b7c6fe0 change-id: 20240417-header-check-70c1b75fc2cf Best regards, -- Tom Tromey