Move gdbserver to top level
authorTom Tromey <tom@tromey.com>
Sun, 15 Dec 2019 14:37:06 +0000 (07:37 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 7 Feb 2020 15:42:25 +0000 (08:42 -0700)
commit919adfe8409211c726c1d05b47ca59890ee648f1
treed2ef4abf9e5590b43a59f3f8747b0d5bab94ab6f
parente8319fde715960466aca2461c74cec8907abd391
Move gdbserver to top level

This patch moves gdbserver to the top level.

This patch is as close to a pure move as possible -- gdbserver still
builds its own variant of gnulib and gdbsupport.  Changing this will
be done in a separate patch.

[v2] Note that, per Simon's review comment, this patch changes the
tree so that gdbserver is not built for or1k or score.  This makes
sense, because there is apparently not actually a gdbserver port here.

[v3] This version of the patch also splits out some configury into a
new file, gdbserver/configure.host, so that the top-level configure
script can simply rely on it in order to decide whether gdbserver
should be built.

[v4] This version adds documentation and removes some unnecessary
top-level dependencies.

[v5] Update docs to mention "make all-gdbserver" and change how
top-level configure decides whether to build gdbserver, switching to a
single, shared script.

Tested by the buildbot.

ChangeLog
2020-02-07  Tom Tromey  <tom@tromey.com>
    Pedro Alves  <palves@redhat.com>

* src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver.
* gdbserver: New directory, moved from gdb/gdbserver.
* configure.ac (host_tools): Add gdbserver.
Only build gdbserver on certain systems.
* Makefile.in, configure: Rebuild.
* Makefile.def (host_modules, dependencies): Add gdbserver.
* MAINTAINERS: Add gdbserver.

gdb/ChangeLog
2020-02-07  Tom Tromey  <tom@tromey.com>

* README: Update gdbserver documentation.
* gdbserver: Move to top level.
* configure.tgt (build_gdbserver): Remove.
* configure.ac: Remove --enable-gdbserver.
* configure: Rebuild.
* Makefile.in (distclean): Don't mention gdbserver.

Change-Id: I826b7565b54604711dc7a11edea0499cd51ff39e
223 files changed:
ChangeLog
MAINTAINERS
Makefile.def
Makefile.in
configure
configure.ac
gdb/ChangeLog
gdb/Makefile.in
gdb/README
gdb/configure
gdb/configure.ac
gdb/configure.tgt
gdb/gdbserver/.gitignore [deleted file]
gdb/gdbserver/ChangeLog [deleted file]
gdb/gdbserver/Makefile.in [deleted file]
gdb/gdbserver/README [deleted file]
gdb/gdbserver/acinclude.m4 [deleted file]
gdb/gdbserver/aclocal.m4 [deleted file]
gdb/gdbserver/ax.c [deleted file]
gdb/gdbserver/ax.h [deleted file]
gdb/gdbserver/config.in [deleted file]
gdb/gdbserver/configure [deleted file]
gdb/gdbserver/configure.ac [deleted file]
gdb/gdbserver/configure.srv [deleted file]
gdb/gdbserver/debug.c [deleted file]
gdb/gdbserver/debug.h [deleted file]
gdb/gdbserver/dll.c [deleted file]
gdb/gdbserver/dll.h [deleted file]
gdb/gdbserver/event-loop.c [deleted file]
gdb/gdbserver/event-loop.h [deleted file]
gdb/gdbserver/fork-child.c [deleted file]
gdb/gdbserver/gdb_proc_service.h [deleted file]
gdb/gdbserver/gdbreplay.c [deleted file]
gdb/gdbserver/gdbthread.h [deleted file]
gdb/gdbserver/hostio-errno.c [deleted file]
gdb/gdbserver/hostio.c [deleted file]
gdb/gdbserver/hostio.h [deleted file]
gdb/gdbserver/i387-fp.c [deleted file]
gdb/gdbserver/i387-fp.h [deleted file]
gdb/gdbserver/inferiors.c [deleted file]
gdb/gdbserver/inferiors.h [deleted file]
gdb/gdbserver/linux-aarch32-low.c [deleted file]
gdb/gdbserver/linux-aarch32-low.h [deleted file]
gdb/gdbserver/linux-aarch32-tdesc.c [deleted file]
gdb/gdbserver/linux-aarch32-tdesc.h [deleted file]
gdb/gdbserver/linux-aarch64-ipa.c [deleted file]
gdb/gdbserver/linux-aarch64-low.c [deleted file]
gdb/gdbserver/linux-aarch64-tdesc.c [deleted file]
gdb/gdbserver/linux-aarch64-tdesc.h [deleted file]
gdb/gdbserver/linux-amd64-ipa.c [deleted file]
gdb/gdbserver/linux-arm-low.c [deleted file]
gdb/gdbserver/linux-arm-tdesc.c [deleted file]
gdb/gdbserver/linux-arm-tdesc.h [deleted file]
gdb/gdbserver/linux-bfin-low.c [deleted file]
gdb/gdbserver/linux-cris-low.c [deleted file]
gdb/gdbserver/linux-crisv32-low.c [deleted file]
gdb/gdbserver/linux-i386-ipa.c [deleted file]
gdb/gdbserver/linux-ia64-low.c [deleted file]
gdb/gdbserver/linux-low.c [deleted file]
gdb/gdbserver/linux-low.h [deleted file]
gdb/gdbserver/linux-m32r-low.c [deleted file]
gdb/gdbserver/linux-m68k-low.c [deleted file]
gdb/gdbserver/linux-mips-low.c [deleted file]
gdb/gdbserver/linux-nios2-low.c [deleted file]
gdb/gdbserver/linux-ppc-ipa.c [deleted file]
gdb/gdbserver/linux-ppc-low.c [deleted file]
gdb/gdbserver/linux-ppc-tdesc-init.h [deleted file]
gdb/gdbserver/linux-s390-ipa.c [deleted file]
gdb/gdbserver/linux-s390-low.c [deleted file]
gdb/gdbserver/linux-s390-tdesc.h [deleted file]
gdb/gdbserver/linux-sh-low.c [deleted file]
gdb/gdbserver/linux-sparc-low.c [deleted file]
gdb/gdbserver/linux-tic6x-low.c [deleted file]
gdb/gdbserver/linux-tile-low.c [deleted file]
gdb/gdbserver/linux-x86-low.c [deleted file]
gdb/gdbserver/linux-x86-tdesc.c [deleted file]
gdb/gdbserver/linux-x86-tdesc.h [deleted file]
gdb/gdbserver/linux-xtensa-low.c [deleted file]
gdb/gdbserver/lynx-i386-low.c [deleted file]
gdb/gdbserver/lynx-low.c [deleted file]
gdb/gdbserver/lynx-low.h [deleted file]
gdb/gdbserver/lynx-ppc-low.c [deleted file]
gdb/gdbserver/mem-break.c [deleted file]
gdb/gdbserver/mem-break.h [deleted file]
gdb/gdbserver/notif.c [deleted file]
gdb/gdbserver/notif.h [deleted file]
gdb/gdbserver/nto-low.c [deleted file]
gdb/gdbserver/nto-low.h [deleted file]
gdb/gdbserver/nto-x86-low.c [deleted file]
gdb/gdbserver/proc-service.c [deleted file]
gdb/gdbserver/proc-service.list [deleted file]
gdb/gdbserver/regcache.c [deleted file]
gdb/gdbserver/regcache.h [deleted file]
gdb/gdbserver/remote-utils.c [deleted file]
gdb/gdbserver/remote-utils.h [deleted file]
gdb/gdbserver/server.c [deleted file]
gdb/gdbserver/server.h [deleted file]
gdb/gdbserver/symbol.c [deleted file]
gdb/gdbserver/target.c [deleted file]
gdb/gdbserver/target.h [deleted file]
gdb/gdbserver/tdesc.c [deleted file]
gdb/gdbserver/tdesc.h [deleted file]
gdb/gdbserver/thread-db.c [deleted file]
gdb/gdbserver/tracepoint.c [deleted file]
gdb/gdbserver/tracepoint.h [deleted file]
gdb/gdbserver/utils.c [deleted file]
gdb/gdbserver/utils.h [deleted file]
gdb/gdbserver/win32-arm-low.c [deleted file]
gdb/gdbserver/win32-i386-low.c [deleted file]
gdb/gdbserver/win32-low.c [deleted file]
gdb/gdbserver/win32-low.h [deleted file]
gdb/gdbserver/wincecompat.c [deleted file]
gdb/gdbserver/wincecompat.h [deleted file]
gdb/gdbserver/x86-low.c [deleted file]
gdb/gdbserver/x86-low.h [deleted file]
gdb/gdbserver/x86-tdesc.h [deleted file]
gdb/gdbserver/xtensa-xtregs.c [deleted file]
gdbserver/.gitignore [new file with mode: 0644]
gdbserver/ChangeLog [new file with mode: 0644]
gdbserver/Makefile.in [new file with mode: 0644]
gdbserver/README [new file with mode: 0644]
gdbserver/acinclude.m4 [new file with mode: 0644]
gdbserver/aclocal.m4 [new file with mode: 0644]
gdbserver/ax.c [new file with mode: 0644]
gdbserver/ax.h [new file with mode: 0644]
gdbserver/config.in [new file with mode: 0644]
gdbserver/configure [new file with mode: 0755]
gdbserver/configure.ac [new file with mode: 0644]
gdbserver/configure.srv [new file with mode: 0644]
gdbserver/debug.c [new file with mode: 0644]
gdbserver/debug.h [new file with mode: 0644]
gdbserver/dll.c [new file with mode: 0644]
gdbserver/dll.h [new file with mode: 0644]
gdbserver/event-loop.c [new file with mode: 0644]
gdbserver/event-loop.h [new file with mode: 0644]
gdbserver/fork-child.c [new file with mode: 0644]
gdbserver/gdb_proc_service.h [new file with mode: 0644]
gdbserver/gdbreplay.c [new file with mode: 0644]
gdbserver/gdbthread.h [new file with mode: 0644]
gdbserver/hostio-errno.c [new file with mode: 0644]
gdbserver/hostio.c [new file with mode: 0644]
gdbserver/hostio.h [new file with mode: 0644]
gdbserver/i387-fp.c [new file with mode: 0644]
gdbserver/i387-fp.h [new file with mode: 0644]
gdbserver/inferiors.c [new file with mode: 0644]
gdbserver/inferiors.h [new file with mode: 0644]
gdbserver/linux-aarch32-low.c [new file with mode: 0644]
gdbserver/linux-aarch32-low.h [new file with mode: 0644]
gdbserver/linux-aarch32-tdesc.c [new file with mode: 0644]
gdbserver/linux-aarch32-tdesc.h [new file with mode: 0644]
gdbserver/linux-aarch64-ipa.c [new file with mode: 0644]
gdbserver/linux-aarch64-low.c [new file with mode: 0644]
gdbserver/linux-aarch64-tdesc.c [new file with mode: 0644]
gdbserver/linux-aarch64-tdesc.h [new file with mode: 0644]
gdbserver/linux-amd64-ipa.c [new file with mode: 0644]
gdbserver/linux-arm-low.c [new file with mode: 0644]
gdbserver/linux-arm-tdesc.c [new file with mode: 0644]
gdbserver/linux-arm-tdesc.h [new file with mode: 0644]
gdbserver/linux-bfin-low.c [new file with mode: 0644]
gdbserver/linux-cris-low.c [new file with mode: 0644]
gdbserver/linux-crisv32-low.c [new file with mode: 0644]
gdbserver/linux-i386-ipa.c [new file with mode: 0644]
gdbserver/linux-ia64-low.c [new file with mode: 0644]
gdbserver/linux-low.c [new file with mode: 0644]
gdbserver/linux-low.h [new file with mode: 0644]
gdbserver/linux-m32r-low.c [new file with mode: 0644]
gdbserver/linux-m68k-low.c [new file with mode: 0644]
gdbserver/linux-mips-low.c [new file with mode: 0644]
gdbserver/linux-nios2-low.c [new file with mode: 0644]
gdbserver/linux-ppc-ipa.c [new file with mode: 0644]
gdbserver/linux-ppc-low.c [new file with mode: 0644]
gdbserver/linux-ppc-tdesc-init.h [new file with mode: 0644]
gdbserver/linux-s390-ipa.c [new file with mode: 0644]
gdbserver/linux-s390-low.c [new file with mode: 0644]
gdbserver/linux-s390-tdesc.h [new file with mode: 0644]
gdbserver/linux-sh-low.c [new file with mode: 0644]
gdbserver/linux-sparc-low.c [new file with mode: 0644]
gdbserver/linux-tic6x-low.c [new file with mode: 0644]
gdbserver/linux-tile-low.c [new file with mode: 0644]
gdbserver/linux-x86-low.c [new file with mode: 0644]
gdbserver/linux-x86-tdesc.c [new file with mode: 0644]
gdbserver/linux-x86-tdesc.h [new file with mode: 0644]
gdbserver/linux-xtensa-low.c [new file with mode: 0644]
gdbserver/lynx-i386-low.c [new file with mode: 0644]
gdbserver/lynx-low.c [new file with mode: 0644]
gdbserver/lynx-low.h [new file with mode: 0644]
gdbserver/lynx-ppc-low.c [new file with mode: 0644]
gdbserver/mem-break.c [new file with mode: 0644]
gdbserver/mem-break.h [new file with mode: 0644]
gdbserver/notif.c [new file with mode: 0644]
gdbserver/notif.h [new file with mode: 0644]
gdbserver/nto-low.c [new file with mode: 0644]
gdbserver/nto-low.h [new file with mode: 0644]
gdbserver/nto-x86-low.c [new file with mode: 0644]
gdbserver/proc-service.c [new file with mode: 0644]
gdbserver/proc-service.list [new file with mode: 0644]
gdbserver/regcache.c [new file with mode: 0644]
gdbserver/regcache.h [new file with mode: 0644]
gdbserver/remote-utils.c [new file with mode: 0644]
gdbserver/remote-utils.h [new file with mode: 0644]
gdbserver/server.c [new file with mode: 0644]
gdbserver/server.h [new file with mode: 0644]
gdbserver/symbol.c [new file with mode: 0644]
gdbserver/target.c [new file with mode: 0644]
gdbserver/target.h [new file with mode: 0644]
gdbserver/tdesc.c [new file with mode: 0644]
gdbserver/tdesc.h [new file with mode: 0644]
gdbserver/thread-db.c [new file with mode: 0644]
gdbserver/tracepoint.c [new file with mode: 0644]
gdbserver/tracepoint.h [new file with mode: 0644]
gdbserver/utils.c [new file with mode: 0644]
gdbserver/utils.h [new file with mode: 0644]
gdbserver/win32-arm-low.c [new file with mode: 0644]
gdbserver/win32-i386-low.c [new file with mode: 0644]
gdbserver/win32-low.c [new file with mode: 0644]
gdbserver/win32-low.h [new file with mode: 0644]
gdbserver/wincecompat.c [new file with mode: 0644]
gdbserver/wincecompat.h [new file with mode: 0644]
gdbserver/x86-low.c [new file with mode: 0644]
gdbserver/x86-low.h [new file with mode: 0644]
gdbserver/x86-tdesc.h [new file with mode: 0644]
gdbserver/xtensa-xtregs.c [new file with mode: 0644]
src-release.sh