]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update HFILES_NO_SRCDIR in gdb/Makefile.in
authorTom Tromey <tom@tromey.com>
Sat, 6 Sep 2025 18:30:35 +0000 (12:30 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 22 Sep 2025 15:35:52 +0000 (09:35 -0600)
I noticed a header file from dwarf2/ was missing from HFILES_NO_SRCDIR
in gdb/Makefile.in.  Looking more, I found many missing files.  This
patch adds them all and sorts the list -- using "sort", though, and
not the advice at the top of Makefile.in that, IMO, seems hard to
implement.

This also removes some code from the 'tags' rule that I think is
obsolete.

gdb/Makefile.in

index 689f37f479cbb651721feaa3f536283eccd8585d..beacefcfdd551cf878a5c4d4a3a3595633151f64 100644 (file)
@@ -1275,31 +1275,67 @@ SFILES = \
 # right, it is probably easiest just to list .h files here directly.
 
 HFILES_NO_SRCDIR = \
+       aarch32-linux-nat.h \
        aarch32-tdep.h \
+       aarch64-fbsd-tdep.h \
+       aarch64-linux-tdep.h \
+       aarch64-nat.h \
        aarch64-ravenscar-thread.h \
        aarch64-tdep.h \
+       ada-casefold.h \
+       ada-exp.h \
        ada-lang.h \
        addrmap.h \
        alpha-bsd-tdep.h \
        alpha-tdep.h \
-       amd-dbgapi-target.h \
+       amd64-bsd-nat.h \
        amd64-darwin-tdep.h \
+       amd64-fbsd-tdep.h \
        amd64-linux-tdep.h \
        amd64-nat.h \
        amd64-ravenscar-thread.h \
        amd64-tdep.h \
+       amd-dbgapi-target.h \
        amdgpu-tdep.h \
        annotate.h \
-       arc-tdep.h \
+       arch/aarch32.h \
+       arch/aarch64-gcs-linux.h \
+       arch/aarch64.h \
+       arch/aarch64-insn.h \
+       arch/aarch64-mte.h \
+       arch/aarch64-mte-linux.h \
+       arch/aarch64-scalable-linux.h \
+       arch/amd64.h \
+       arch/amd64-linux-tdesc.h \
+       arch/arc.h \
+       arch/arm-get-next-pcs.h \
+       arch/arm.h \
+       arch/arm-linux.h \
+       arch/csky.h \
+       arch/i386.h \
+       arch/i386-linux-tdesc.h \
+       arch/loongarch.h \
+       arch/loongarch-insn.h \
+       arch/loongarch-syscall.h \
+       arch/ppc-linux-common.h \
+       arch/ppc-linux-tdesc.h \
+       arch/riscv.h \
+       arch/tic6x.h \
        arch-utils.h \
+       arch/x86-linux-tdesc-features.h \
+       arch/x86-linux-tdesc.h \
+       arch/xtensa.h \
+       arc-linux-tdep.h \
+       arc-tdep.h \
+       arm-fbsd-tdep.h \
        arm-linux-tdep.h \
        arm-netbsd-tdep.h \
        arm-tdep.h \
        async-event.h \
        auto-load.h \
        auxv.h \
-       ax.h \
        ax-gdb.h \
+       ax.h \
        bcache.h \
        bfd-target.h \
        bfin-tdep.h \
@@ -1308,97 +1344,161 @@ HFILES_NO_SRCDIR = \
        breakpoint.h \
        bsd-kvm.h \
        bsd-uthread.h \
+       btrace.h \
        bt-utils.h \
        build-id.h \
-       buildsym-legacy.h \
        buildsym.h \
-       c-lang.h \
+       buildsym-legacy.h \
+       c-exp.h \
+       cgen-remap.h \
        charset.h \
        charset-list.h \
+       c-lang.h \
+       cli/cli-cmds.h \
+       cli/cli-decode.h \
+       cli/cli-interp.h \
+       cli/cli-option.h \
+       cli/cli-script.h \
+       cli/cli-setshow.h \
+       cli/cli-style.h \
+       cli/cli-utils.h \
        cli-out.h \
        coff-pe-read.h \
        command.h \
+       compile/compile-c.h \
+       compile/compile-cplus.h \
+       compile/compile.h \
+       compile/compile-internal.h \
+       compile/compile-object-load.h \
+       compile/compile-object-run.h \
+       compile/gcc-c-plugin.h \
+       compile/gcc-cp-plugin.h \
        complaints.h \
        completer.h \
+       config/djgpp/langinfo.h \
+       config/djgpp/nl_types.h \
+       config/i386/nm-x86-gnu.h \
+       config/nm-linux.h \
+       config/sparc/nm-sol2.h \
        cp-abi.h \
        cp-support.h \
+       cris-tdep.h \
        csky-tdep.h \
-       d-lang.h \
+       c-support.h \
+       ctfread.h \
        darwin-nat.h \
        dcache.h \
+       debuginfod-support.h \
        defs.h \
        dicos-tdep.h \
        dictionary.h \
        disasm-flags.h \
        disasm.h \
+       disasm-selftests.h \
+       displaced-stepping.h \
+       d-lang.h \
        dummy-frame.h \
+       dwarf2/abbrev.h \
+       dwarf2/abbrev-table-cache.h \
        dwarf2/aranges.h \
-       dwarf2/cooked-index.h \
+       dwarf2/attribute.h \
+       dwarf2/call-site.h \
        dwarf2/cooked-index-entry.h \
+       dwarf2/cooked-indexer.h \
+       dwarf2/cooked-index.h \
        dwarf2/cooked-index-shard.h \
        dwarf2/cooked-index-worker.h \
-       dwarf2/cooked-indexer.h \
        dwarf2/cu.h \
-       dwarf2/frame-tailcall.h \
-       dwarf2/frame.h \
+       dwarf2/die.h \
+       dwarf2/dwz.h \
+       dwarf2/error.h \
        dwarf2/expr.h \
+       dwarf2/file-and-dir.h \
+       dwarf2/frame.h \
+       dwarf2/frame-tailcall.h \
        dwarf2/index-cache.h \
        dwarf2/index-common.h \
+       dwarf2/index-write.h \
+       dwarf2/leb.h \
+       dwarf2/line-header.h \
        dwarf2/line-program.h \
        dwarf2/loc.h \
-       dwarf2/read.h \
+       dwarf2/macro.h \
+       dwarf2/mapped-index.h \
+       dwarf2/parent-map.h \
+       dwarf2/public.h \
        dwarf2/read-debug-names.h \
        dwarf2/read-gdb-index.h \
+       dwarf2/read.h \
+       dwarf2/section.h \
+       dwarf2/sect-names.h \
+       dwarf2/stringify.h \
+       dwarf2/tag.h \
+       dwarf2/types.h \
+       dwarf2/unit-head.h \
+       elf-none-tdep.h \
        event-top.h \
        exceptions.h \
        exec.h \
+       expop.h \
        expression.h \
        extension.h \
        extension-priv.h \
        extract-store-integer.h \
        f-array-walker.h \
-       f-lang.h \
        fbsd-nat.h \
        fbsd-tdep.h \
+       f-exp.h \
+       filename-seen-cache.h \
        filesystem.h \
-       frame.h \
+       f-lang.h \
        frame-base.h \
+       frame.h \
+       frame-id.h \
        frame-unwind.h \
        frv-tdep.h \
        ft32-tdep.h \
        gcore-elf.h \
        gcore.h \
+       gdbarch-gen.h \
+       gdbarch.h \
        gdb_bfd.h \
+       gdbcore.h \
        gdb_curses.h \
+       gdb-demangle.h \
        gdb_expat.h \
        gdb_proc_service.h \
        gdb-stabs.h \
-       gdb_vfork.h \
-       gdb_wchar.h \
-       gdbarch.h \
-       gdbcore.h \
        gdbthread.h \
        gdbtypes.h \
+       gdb_vfork.h \
+       gdb_wchar.h \
        glibc-tdep.h \
        gmp-utils.h \
        gnu-nat.h \
+       gnu-nat-mig.h \
        go-lang.h \
        gregset.h \
+       guile/guile.h \
+       guile/guile-internal.h \
        hppa-bsd-tdep.h \
        hppa-linux-offsets.h \
        hppa-tdep.h \
        i386-bsd-nat.h \
        i386-darwin-tdep.h \
+       i386-fbsd-tdep.h \
        i386-linux-tdep.h \
        i386-tdep.h \
        i387-tdep.h \
        ia64-libunwind-tdep.h \
        ia64-tdep.h \
+       infcall.h \
        inf-child.h \
+       inferior.h \
+       inferior-iter.h \
        inf-loop.h \
        inf-ptrace.h \
-       infcall.h \
-       inferior.h \
+       infrun.h \
        inline-frame.h \
        interps.h \
        jit.h \
@@ -1406,10 +1506,12 @@ HFILES_NO_SRCDIR = \
        linespec.h \
        linux-fork.h \
        linux-nat.h \
+       linux-nat-trad.h \
        linux-record.h \
        linux-tdep.h \
        location.h \
        loongarch-tdep.h \
+       m2-exp.h \
        m2-lang.h \
        m32r-tdep.h \
        m68k-tdep.h \
@@ -1417,106 +1519,209 @@ HFILES_NO_SRCDIR = \
        macroscope.h \
        macrotab.h \
        main.h \
+       maint.h \
        mdebugread.h \
        memattr.h \
        memory-map.h \
        memrange.h \
+       memtag.h \
        microblaze-tdep.h \
+       mi/mi-cmd-break.h \
+       mi/mi-cmds.h \
+       mi/mi-common.h \
+       mi/mi-console.h \
+       mi/mi-getopt.h \
+       mi/mi-interp.h \
+       mi/mi-main.h \
+       mi/mi-out.h \
+       mi/mi-parse.h \
+       minsyms.h \
+       mips-fbsd-tdep.h \
        mips-linux-tdep.h \
        mips-netbsd-tdep.h \
        mips-tdep.h \
        mn10300-tdep.h \
        moxie-tdep.h \
+       namespace.h \
+       nat/aarch64-hw-point.h \
+       nat/aarch64-linux.h \
+       nat/aarch64-linux-hw-point.h \
+       nat/aarch64-mte-linux-ptrace.h \
+       nat/aarch64-scalable-linux-ptrace.h \
+       nat/aarch64-scalable-linux-sigcontext.h \
+       nat/amd64-linux-siginfo.h \
+       nat/fork-inferior.h \
+       nat/gdb_ptrace.h \
+       nat/gdb_thread_db.h \
+       nat/glibc_thread_db.h \
+       nat/i386-linux.h \
+       nat/linux-btrace.h \
+       nat/linux-namespaces.h \
+       nat/linux-nat.h \
+       nat/linux-osdata.h \
+       nat/linux-personality.h \
+       nat/linux-procfs.h \
+       nat/linux-ptrace.h \
+       nat/linux-waitpid.h \
+       nat/loongarch-hw-point.h \
+       nat/loongarch-linux.h \
+       nat/loongarch-linux-hw-point.h \
+       nat/mips-linux-watch.h \
+       nat/netbsd-nat.h \
+       nat/ppc-linux.h \
+       nat/riscv-linux-tdesc.h \
+       nat/windows-nat.h \
+       nat/x86-cpuid.h \
+       nat/x86-dregs.h \
+       nat/x86-gcc-cpuid.h \
+       nat/x86-linux-dregs.h \
+       nat/x86-linux.h \
+       nat/x86-linux-tdesc.h \
+       nat/x86-xstate.h \
+       nds32-tdep.h \
        netbsd-nat.h \
        netbsd-tdep.h \
-       nds32-tdep.h \
-       elf-none-tdep.h \
        objc-lang.h \
+       objfile-flags.h \
        objfiles.h \
        obsd-nat.h \
        obsd-tdep.h \
+       observable.h \
        or1k-linux-tdep.h \
+       or1k-tdep.h \
        osabi.h \
        osdata.h \
-       p-lang.h \
+       pager.h \
        parser-defs.h \
+       p-lang.h \
+       ppc64-tdep.h \
        ppc-fbsd-tdep.h \
        ppc-linux-tdep.h \
        ppc-netbsd-tdep.h \
        ppc-obsd-tdep.h \
        ppc-ravenscar-thread.h \
        ppc-tdep.h \
-       ppc64-tdep.h \
        probe.h \
-       proc-utils.h \
+       process-stratum-target.h \
        procfs.h \
-       progspace.h \
+       proc-utils.h \
+       producer.h \
        progspace-and-thread.h \
+       progspace.h \
        prologue-value.h \
        psymtab.h \
+       python/py-color.h \
+       python/py-event.h \
+       python/py-events.h \
+       python/py-instruction.h \
+       python/py-record-btrace.h \
+       python/py-record-full.h \
+       python/py-record.h \
+       python/py-ref.h \
+       python/py-stopevent.h \
+       python/python.h \
+       python/python-internal.h \
+       python/py-uiout.h \
+       quick-symbol.h \
        ravenscar-thread.h \
-       record.h \
+       record-btrace.h \
        record-full.h \
+       record.h \
        regcache.h \
+       regformats/regdef.h \
        reggroups.h \
+       registry.h \
        regset.h \
-       remote.h \
        remote-fileio.h \
+       remote.h \
        remote-notif.h \
        riscv-fbsd-tdep.h \
+       riscv-linux-tdep.h \
        riscv-ravenscar-thread.h \
        riscv-tdep.h \
        rs6000-aix-tdep.h \
        run-on-main-thread.h \
+       rust-exp.h \
+       rust-lang.h \
        s390-linux-tdep.h \
        s390-tdep.h \
+       scoped-mock-context.h \
        selftest-arch.h \
        sentinel-frame.h \
        ser-base.h \
        ser-event.h \
+       serial.h \
        ser-tcp.h \
        ser-unix.h \
-       serial.h \
        sh-tdep.h \
        sim-regno.h \
        skip.h \
        sol2-tdep.h \
-       solib.h \
        solib-aix.h \
        solib-darwin.h \
+       solib-dsbt.h \
        solib-frv.h \
+       solib.h \
        solib-svr4.h \
        solib-svr4-linux.h \
        solib-target.h \
-       source.h \
        source-cache.h \
+       source.h \
+       sparc64-tdep.h \
        sparc-nat.h \
        sparc-ravenscar-thread.h \
        sparc-tdep.h \
-       sparc64-tdep.h \
        split-name.h \
        stabsread.h \
        stack.h \
        stap-probe.h \
        svr4-tls-tdep.h \
+       symfile-add-flags.h \
        symfile.h \
        symtab.h \
-       target.h \
+       target-connection.h \
        target-dcache.h \
+       target-debug.h \
        target-descriptions.h \
+       target-float.h \
+       target.h \
+       target/resume.h \
+       target-section.h \
+       target/target.h \
+       target/wait.h \
+       target/waitstatus.h \
        terminal.h \
+       test-target.h \
+       thread-fsm.h \
+       thread-iter.h \
+       tic6x-tdep.h \
        tid-parse.h \
+       tilegx-tdep.h \
        top.h \
        tracectf.h \
        tracefile.h \
        tracepoint.h \
        trad-frame.h \
-       target-float.h \
        tramp-frame.h \
-       type-stack.h \
+       tui/tui-command.h \
+       tui/tui-data.h \
+       tui/tui-disasm.h \
+       tui/tui-file.h \
+       tui/tui.h \
+       tui/tui-hooks.h \
+       tui/tui-io.h \
+       tui/tui-layout.h \
+       tui/tui-location.h \
+       tui/tui-regs.h \
+       tui/tui-source.h \
+       tui/tui-status.h \
+       tui/tui-wingeneral.h \
+       tui/tui-win.h \
+       tui/tui-winsource.h \
        typeprint.h \
-       ui.h \
+       type-stack.h \
        ui-file.h \
+       ui.h \
        ui-out.h \
        ui-style.h \
        user-regs.h \
@@ -1529,111 +1734,18 @@ HFILES_NO_SRCDIR = \
        windows-nat.h \
        windows-tdep.h \
        x86-bsd-nat.h \
+       x86-fbsd-nat.h \
        x86-linux-nat.h \
        x86-nat.h \
+       x86-tdep.h \
        xcoffread.h \
        xml-builtin.h \
        xml-support.h \
        xml-syscall.h \
        xml-tdesc.h \
        xtensa-tdep.h \
-       arch/aarch32.h \
-       arch/aarch64.h \
-       arch/aarch64-insn.h \
-       arch/aarch64-mte.h \
-       arch/aarch64-mte-linux.h \
-       arch/aarch64-scalable-linux.h \
-       arch/amd64-linux-tdesc.h \
-       arch/arc.h \
-       arch/arm.h \
-       arch/i386-linux-tdesc.h \
-       arch/i386.h \
-       arch/loongarch.h \
-       arch/ppc-linux-common.h \
-       arch/ppc-linux-tdesc.h \
-       arch/riscv.h \
-       arch/x86-linux-tdesc-features.h \
-       arch/x86-linux-tdesc.h \
-       cli/cli-cmds.h \
-       cli/cli-decode.h \
-       cli/cli-script.h \
-       cli/cli-setshow.h \
-       cli/cli-style.h \
-       cli/cli-utils.h \
-       compile/compile.h \
-       compile/compile-c.h \
-       compile/compile-cplus.h \
-       compile/compile-internal.h \
-       compile/compile-object-load.h \
-       compile/compile-object-run.h \
-       compile/gcc-c-plugin.h \
-       compile/gcc-cp-plugin.h \
-       config/nm-linux.h \
-       config/djgpp/langinfo.h \
-       config/djgpp/nl_types.h \
-       config/i386/nm-i386gnu.h \
-       config/sparc/nm-sol2.h \
-       mi/mi-cmds.h \
-       mi/mi-common.h \
-       mi/mi-console.h \
-       mi/mi-getopt.h \
-       mi/mi-main.h \
-       mi/mi-out.h \
-       mi/mi-parse.h \
-       nat/aarch64-linux.h \
-       nat/aarch64-linux-hw-point.h \
-       nat/aarch64-mte-linux-ptrace.h \
-       nat/aarch64-scalable-linux-ptrace.h \
-       nat/aarch64-scalable-linux-sigcontext.h \
-       nat/amd64-linux-siginfo.h \
-       nat/gdb_ptrace.h \
-       nat/gdb_thread_db.h \
-       nat/fork-inferior.h \
-       nat/i386-linux.h \
-       nat/linux-btrace.h \
-       nat/linux-namespaces.h \
-       nat/linux-nat.h \
-       nat/linux-osdata.h \
-       nat/linux-personality.h \
-       nat/linux-ptrace.h \
-       nat/linux-waitpid.h \
-       nat/loongarch-hw-point.h \
-       nat/loongarch-linux.h \
-       nat/loongarch-linux-hw-point.h \
-       nat/mips-linux-watch.h \
-       nat/ppc-linux.h \
-       nat/x86-cpuid.h \
-       nat/x86-dregs.h \
-       nat/x86-gcc-cpuid.h \
-       nat/x86-linux.h \
-       nat/x86-linux-dregs.h \
-       nat/x86-linux-tdesc.h \
-       python/py-event.h \
-       python/py-events.h \
-       python/py-stopevent.h \
-       python/python.h \
-       python/python-internal.h \
-       regformats/regdef.h \
-       target/resume.h \
-       target/target.h \
-       target/wait.h \
-       target/waitstatus.h \
-       tui/tui.h \
-       tui/tui-command.h \
-       tui/tui-data.h \
-       tui/tui-disasm.h \
-       tui/tui-file.h \
-       tui/tui-hooks.h \
-       tui/tui-io.h \
-       tui/tui-layout.h \
-       tui/tui-location.h \
-       tui/tui-regs.h \
-       tui/tui-source.h \
-       tui/tui-status.h \
-       tui/tui-win.h \
-       tui/tui-wingeneral.h \
-       tui/tui-winsource.h \
-       x86-tdep.h
+       yy-remap.h \
+       z80-tdep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -2288,8 +2400,7 @@ TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
                echo $(srcdir)/$$i ; \
        done ; for i in $(TAGFILES_WITH_SRCDIR); do \
                echo $$i ; \
-       done) | sed -e 's/\.o$$/\.c/'` \
-       `find $(srcdir)/config -name '*.h' -print`
+       done) | sed -e 's/\.o$$/\.c/'`
 
 tags: TAGS