]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - Makefile.def
Move gdbsupport to the top level
authorTom Tromey <tom@tromey.com>
Tue, 9 Jul 2019 14:06:39 +0000 (08:06 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2020 23:25:02 +0000 (16:25 -0700)
commit01027315f54048dbaf03ac37455c2528c72a6d9b
treec7cab8f936383a1adcb5da0a9493808b643d16ed
parentb2ceabe8f0c2056342834b2b3f52f3b015538df3
Move gdbsupport to the top level

This patch moves the gdbsupport directory to the top level.  This is
the next step in the ongoing project to move gdbserver to the top
level.

The bulk of this patch was created by "git mv gdb/gdbsupport gdbsupport".

This patch then adds a build system to gdbsupport and wires it into
the top level.  Then it changes gdb to use the top-level build.

gdbserver, on the other hand, is not yet changed.  It still does its
own build of gdbsupport.

ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport.
* MAINTAINERS: Add gdbsupport.
* configure: Rebuild.
* configure.ac (configdirs): Add gdbsupport.
* gdbsupport: New directory, move from gdb/gdbsupport.
* Makefile.def (host_modules, dependencies): Add gnulib.
* Makefile.in: Rebuild.

gdb/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* nat/x86-linux-dregs.c: Include configh.h.
* nat/linux-ptrace.c: Include configh.h.
* nat/linux-btrace.c: Include configh.h.
* defs.h: Include config.h, bfd.h.
* configure.ac: Don't source common.host.
(CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files.
* configure: Rebuild.
* acinclude.m4: Update path.
* Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables.
(CONFIG_SRC_SUBDIR): Remove gdbsupport.
(INTERNAL_CFLAGS_BASE): Add INCSUPPORT.
(CLIBS): Add LIBSUPPORT.
(CDEPS): Likewise.
(COMMON_SFILES): Remove gdbsupport files.
(HFILES_NO_SRCDIR): Likewise.
(stamp-version): Update path to create-version.sh.
(ALLDEPFILES): Remove gdbsupport files.

gdb/gdbserver/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* server.h: Include config.h.
* gdbreplay.c: Include config.h.
* configure: Rebuild.
* configure.ac: Don't source common.host.
* acinclude.m4: Update path.
* Makefile.in (INCSUPPORT): New variable.
(INCLUDE_CFLAGS): Add INCSUPPORT.
(SFILES): Update paths.
(version-generated.c): Update path to create-version.sh.
(gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths.

gdbsupport/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* common-defs.h: Add GDBSERVER case.  Update includes.
* acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
Makefile.am, Makefile.in, README: New files.
* Moved from ../gdb/gdbsupport/

Change-Id: I07632e7798635c1bab389bf885971e584fb4bb78
146 files changed:
ChangeLog
MAINTAINERS
Makefile.def
Makefile.in
configure
configure.ac
gdb/ChangeLog
gdb/Makefile.in
gdb/acinclude.m4
gdb/configure
gdb/configure.ac
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/acinclude.m4
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/server.h
gdb/nat/linux-btrace.c
gdb/nat/linux-ptrace.c
gdb/nat/x86-linux-dregs.c
gdbsupport/ChangeLog [new file with mode: 0644]
gdbsupport/Makefile.am [new file with mode: 0644]
gdbsupport/Makefile.in [new file with mode: 0644]
gdbsupport/README [new file with mode: 0644]
gdbsupport/acinclude.m4 [new file with mode: 0644]
gdbsupport/aclocal.m4 [new file with mode: 0644]
gdbsupport/agent.c [moved from gdb/gdbsupport/agent.c with 100% similarity]
gdbsupport/agent.h [moved from gdb/gdbsupport/agent.h with 100% similarity]
gdbsupport/alt-stack.h [moved from gdb/gdbsupport/alt-stack.h with 100% similarity]
gdbsupport/array-view.h [moved from gdb/gdbsupport/array-view.h with 100% similarity]
gdbsupport/ax.def [moved from gdb/gdbsupport/ax.def with 100% similarity]
gdbsupport/block-signals.h [moved from gdb/gdbsupport/block-signals.h with 100% similarity]
gdbsupport/break-common.h [moved from gdb/gdbsupport/break-common.h with 100% similarity]
gdbsupport/btrace-common.c [moved from gdb/gdbsupport/btrace-common.c with 100% similarity]
gdbsupport/btrace-common.h [moved from gdb/gdbsupport/btrace-common.h with 100% similarity]
gdbsupport/buffer.c [moved from gdb/gdbsupport/buffer.c with 100% similarity]
gdbsupport/buffer.h [moved from gdb/gdbsupport/buffer.h with 100% similarity]
gdbsupport/byte-vector.h [moved from gdb/gdbsupport/byte-vector.h with 100% similarity]
gdbsupport/cleanups.c [moved from gdb/gdbsupport/cleanups.c with 100% similarity]
gdbsupport/cleanups.h [moved from gdb/gdbsupport/cleanups.h with 100% similarity]
gdbsupport/common-debug.c [moved from gdb/gdbsupport/common-debug.c with 100% similarity]
gdbsupport/common-debug.h [moved from gdb/gdbsupport/common-debug.h with 100% similarity]
gdbsupport/common-defs.h [moved from gdb/gdbsupport/common-defs.h with 95% similarity]
gdbsupport/common-exceptions.c [moved from gdb/gdbsupport/common-exceptions.c with 100% similarity]
gdbsupport/common-exceptions.h [moved from gdb/gdbsupport/common-exceptions.h with 100% similarity]
gdbsupport/common-gdbthread.h [moved from gdb/gdbsupport/common-gdbthread.h with 100% similarity]
gdbsupport/common-inferior.c [moved from gdb/gdbsupport/common-inferior.c with 100% similarity]
gdbsupport/common-inferior.h [moved from gdb/gdbsupport/common-inferior.h with 100% similarity]
gdbsupport/common-regcache.c [moved from gdb/gdbsupport/common-regcache.c with 100% similarity]
gdbsupport/common-regcache.h [moved from gdb/gdbsupport/common-regcache.h with 100% similarity]
gdbsupport/common-types.h [moved from gdb/gdbsupport/common-types.h with 100% similarity]
gdbsupport/common-utils.c [moved from gdb/gdbsupport/common-utils.c with 100% similarity]
gdbsupport/common-utils.h [moved from gdb/gdbsupport/common-utils.h with 100% similarity]
gdbsupport/common.m4 [moved from gdb/gdbsupport/common.m4 with 100% similarity]
gdbsupport/config.in [new file with mode: 0644]
gdbsupport/configure [new file with mode: 0755]
gdbsupport/configure.ac [new file with mode: 0644]
gdbsupport/create-version.sh [moved from gdb/gdbsupport/create-version.sh with 100% similarity]
gdbsupport/def-vector.h [moved from gdb/gdbsupport/def-vector.h with 100% similarity]
gdbsupport/default-init-alloc.h [moved from gdb/gdbsupport/default-init-alloc.h with 100% similarity]
gdbsupport/enum-flags.h [moved from gdb/gdbsupport/enum-flags.h with 100% similarity]
gdbsupport/environ.c [moved from gdb/gdbsupport/environ.c with 100% similarity]
gdbsupport/environ.h [moved from gdb/gdbsupport/environ.h with 100% similarity]
gdbsupport/errors.c [moved from gdb/gdbsupport/errors.c with 100% similarity]
gdbsupport/errors.h [moved from gdb/gdbsupport/errors.h with 100% similarity]
gdbsupport/fileio.c [moved from gdb/gdbsupport/fileio.c with 100% similarity]
gdbsupport/fileio.h [moved from gdb/gdbsupport/fileio.h with 100% similarity]
gdbsupport/filestuff.c [moved from gdb/gdbsupport/filestuff.c with 100% similarity]
gdbsupport/filestuff.h [moved from gdb/gdbsupport/filestuff.h with 100% similarity]
gdbsupport/filtered-iterator.h [moved from gdb/gdbsupport/filtered-iterator.h with 100% similarity]
gdbsupport/format.c [moved from gdb/gdbsupport/format.c with 100% similarity]
gdbsupport/format.h [moved from gdb/gdbsupport/format.h with 100% similarity]
gdbsupport/forward-scope-exit.h [moved from gdb/gdbsupport/forward-scope-exit.h with 100% similarity]
gdbsupport/function-view.h [moved from gdb/gdbsupport/function-view.h with 100% similarity]
gdbsupport/gdb-dlfcn.c [moved from gdb/gdbsupport/gdb-dlfcn.c with 100% similarity]
gdbsupport/gdb-dlfcn.h [moved from gdb/gdbsupport/gdb-dlfcn.h with 100% similarity]
gdbsupport/gdb-sigmask.h [moved from gdb/gdbsupport/gdb-sigmask.h with 100% similarity]
gdbsupport/gdb_assert.h [moved from gdb/gdbsupport/gdb_assert.h with 100% similarity]
gdbsupport/gdb_binary_search.h [moved from gdb/gdbsupport/gdb_binary_search.h with 100% similarity]
gdbsupport/gdb_locale.h [moved from gdb/gdbsupport/gdb_locale.h with 100% similarity]
gdbsupport/gdb_optional.h [moved from gdb/gdbsupport/gdb_optional.h with 100% similarity]
gdbsupport/gdb_proc_service.h [moved from gdb/gdbsupport/gdb_proc_service.h with 100% similarity]
gdbsupport/gdb_ref_ptr.h [moved from gdb/gdbsupport/gdb_ref_ptr.h with 100% similarity]
gdbsupport/gdb_setjmp.h [moved from gdb/gdbsupport/gdb_setjmp.h with 100% similarity]
gdbsupport/gdb_signals.h [moved from gdb/gdbsupport/gdb_signals.h with 100% similarity]
gdbsupport/gdb_splay_tree.h [moved from gdb/gdbsupport/gdb_splay_tree.h with 100% similarity]
gdbsupport/gdb_string_view.h [moved from gdb/gdbsupport/gdb_string_view.h with 100% similarity]
gdbsupport/gdb_string_view.tcc [moved from gdb/gdbsupport/gdb_string_view.tcc with 100% similarity]
gdbsupport/gdb_sys_time.h [moved from gdb/gdbsupport/gdb_sys_time.h with 100% similarity]
gdbsupport/gdb_tilde_expand.c [moved from gdb/gdbsupport/gdb_tilde_expand.c with 100% similarity]
gdbsupport/gdb_tilde_expand.h [moved from gdb/gdbsupport/gdb_tilde_expand.h with 100% similarity]
gdbsupport/gdb_unique_ptr.h [moved from gdb/gdbsupport/gdb_unique_ptr.h with 100% similarity]
gdbsupport/gdb_unlinker.h [moved from gdb/gdbsupport/gdb_unlinker.h with 100% similarity]
gdbsupport/gdb_vecs.c [moved from gdb/gdbsupport/gdb_vecs.c with 100% similarity]
gdbsupport/gdb_vecs.h [moved from gdb/gdbsupport/gdb_vecs.h with 100% similarity]
gdbsupport/gdb_wait.c [moved from gdb/gdbsupport/gdb_wait.c with 100% similarity]
gdbsupport/gdb_wait.h [moved from gdb/gdbsupport/gdb_wait.h with 100% similarity]
gdbsupport/hash_enum.h [moved from gdb/gdbsupport/hash_enum.h with 100% similarity]
gdbsupport/host-defs.h [moved from gdb/gdbsupport/host-defs.h with 100% similarity]
gdbsupport/job-control.c [moved from gdb/gdbsupport/job-control.c with 100% similarity]
gdbsupport/job-control.h [moved from gdb/gdbsupport/job-control.h with 100% similarity]
gdbsupport/netstuff.c [moved from gdb/gdbsupport/netstuff.c with 100% similarity]
gdbsupport/netstuff.h [moved from gdb/gdbsupport/netstuff.h with 100% similarity]
gdbsupport/new-op.c [moved from gdb/gdbsupport/new-op.c with 100% similarity]
gdbsupport/next-iterator.h [moved from gdb/gdbsupport/next-iterator.h with 100% similarity]
gdbsupport/observable.h [moved from gdb/gdbsupport/observable.h with 100% similarity]
gdbsupport/offset-type.h [moved from gdb/gdbsupport/offset-type.h with 100% similarity]
gdbsupport/parallel-for.h [moved from gdb/gdbsupport/parallel-for.h with 100% similarity]
gdbsupport/pathstuff.c [moved from gdb/gdbsupport/pathstuff.c with 100% similarity]
gdbsupport/pathstuff.h [moved from gdb/gdbsupport/pathstuff.h with 100% similarity]
gdbsupport/poison.h [moved from gdb/gdbsupport/poison.h with 100% similarity]
gdbsupport/preprocessor.h [moved from gdb/gdbsupport/preprocessor.h with 100% similarity]
gdbsupport/print-utils.c [moved from gdb/gdbsupport/print-utils.c with 100% similarity]
gdbsupport/print-utils.h [moved from gdb/gdbsupport/print-utils.h with 100% similarity]
gdbsupport/ptid.c [moved from gdb/gdbsupport/ptid.c with 100% similarity]
gdbsupport/ptid.h [moved from gdb/gdbsupport/ptid.h with 100% similarity]
gdbsupport/refcounted-object.h [moved from gdb/gdbsupport/refcounted-object.h with 100% similarity]
gdbsupport/rsp-low.c [moved from gdb/gdbsupport/rsp-low.c with 100% similarity]
gdbsupport/rsp-low.h [moved from gdb/gdbsupport/rsp-low.h with 100% similarity]
gdbsupport/run-time-clock.c [moved from gdb/gdbsupport/run-time-clock.c with 100% similarity]
gdbsupport/run-time-clock.h [moved from gdb/gdbsupport/run-time-clock.h with 100% similarity]
gdbsupport/safe-iterator.h [moved from gdb/gdbsupport/safe-iterator.h with 100% similarity]
gdbsupport/safe-strerror.c [moved from gdb/gdbsupport/safe-strerror.c with 100% similarity]
gdbsupport/scope-exit.h [moved from gdb/gdbsupport/scope-exit.h with 100% similarity]
gdbsupport/scoped_fd.h [moved from gdb/gdbsupport/scoped_fd.h with 100% similarity]
gdbsupport/scoped_mmap.c [moved from gdb/gdbsupport/scoped_mmap.c with 100% similarity]
gdbsupport/scoped_mmap.h [moved from gdb/gdbsupport/scoped_mmap.h with 100% similarity]
gdbsupport/scoped_restore.h [moved from gdb/gdbsupport/scoped_restore.h with 100% similarity]
gdbsupport/selftest.c [moved from gdb/gdbsupport/selftest.c with 100% similarity]
gdbsupport/selftest.h [moved from gdb/gdbsupport/selftest.h with 100% similarity]
gdbsupport/signals-state-save-restore.c [moved from gdb/gdbsupport/signals-state-save-restore.c with 100% similarity]
gdbsupport/signals-state-save-restore.h [moved from gdb/gdbsupport/signals-state-save-restore.h with 100% similarity]
gdbsupport/signals.c [moved from gdb/gdbsupport/signals.c with 100% similarity]
gdbsupport/symbol.h [moved from gdb/gdbsupport/symbol.h with 100% similarity]
gdbsupport/tdesc.c [moved from gdb/gdbsupport/tdesc.c with 100% similarity]
gdbsupport/tdesc.h [moved from gdb/gdbsupport/tdesc.h with 100% similarity]
gdbsupport/thread-pool.c [moved from gdb/gdbsupport/thread-pool.c with 100% similarity]
gdbsupport/thread-pool.h [moved from gdb/gdbsupport/thread-pool.h with 100% similarity]
gdbsupport/traits.h [moved from gdb/gdbsupport/traits.h with 100% similarity]
gdbsupport/underlying.h [moved from gdb/gdbsupport/underlying.h with 100% similarity]
gdbsupport/valid-expr.h [moved from gdb/gdbsupport/valid-expr.h with 100% similarity]
gdbsupport/version.h [moved from gdb/gdbsupport/version.h with 100% similarity]
gdbsupport/x86-xstate.h [moved from gdb/gdbsupport/x86-xstate.h with 100% similarity]
gdbsupport/xml-utils.c [moved from gdb/gdbsupport/xml-utils.c with 100% similarity]
gdbsupport/xml-utils.h [moved from gdb/gdbsupport/xml-utils.h with 100% similarity]
src-release.sh