]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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
118 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
gdbserver/.gitignore [moved from gdb/gdbserver/.gitignore with 100% similarity]
gdbserver/ChangeLog [moved from gdb/gdbserver/ChangeLog with 99% similarity]
gdbserver/Makefile.in [moved from gdb/gdbserver/Makefile.in with 85% similarity]
gdbserver/README [moved from gdb/gdbserver/README with 89% similarity]
gdbserver/acinclude.m4 [moved from gdb/gdbserver/acinclude.m4 with 63% similarity]
gdbserver/aclocal.m4 [moved from gdb/gdbserver/aclocal.m4 with 100% similarity]
gdbserver/ax.c [moved from gdb/gdbserver/ax.c with 100% similarity]
gdbserver/ax.h [moved from gdb/gdbserver/ax.h with 100% similarity]
gdbserver/config.in [moved from gdb/gdbserver/config.in with 100% similarity]
gdbserver/configure [moved from gdb/gdbserver/configure with 99% similarity]
gdbserver/configure.ac [moved from gdb/gdbserver/configure.ac with 98% similarity]
gdbserver/configure.srv [moved from gdb/gdbserver/configure.srv with 98% similarity]
gdbserver/debug.c [moved from gdb/gdbserver/debug.c with 100% similarity]
gdbserver/debug.h [moved from gdb/gdbserver/debug.h with 100% similarity]
gdbserver/dll.c [moved from gdb/gdbserver/dll.c with 100% similarity]
gdbserver/dll.h [moved from gdb/gdbserver/dll.h with 100% similarity]
gdbserver/event-loop.c [moved from gdb/gdbserver/event-loop.c with 100% similarity]
gdbserver/event-loop.h [moved from gdb/gdbserver/event-loop.h with 100% similarity]
gdbserver/fork-child.c [moved from gdb/gdbserver/fork-child.c with 100% similarity]
gdbserver/gdb_proc_service.h [moved from gdb/gdbserver/gdb_proc_service.h with 100% similarity]
gdbserver/gdbreplay.c [moved from gdb/gdbserver/gdbreplay.c with 100% similarity]
gdbserver/gdbthread.h [moved from gdb/gdbserver/gdbthread.h with 100% similarity]
gdbserver/hostio-errno.c [moved from gdb/gdbserver/hostio-errno.c with 100% similarity]
gdbserver/hostio.c [moved from gdb/gdbserver/hostio.c with 100% similarity]
gdbserver/hostio.h [moved from gdb/gdbserver/hostio.h with 100% similarity]
gdbserver/i387-fp.c [moved from gdb/gdbserver/i387-fp.c with 100% similarity]
gdbserver/i387-fp.h [moved from gdb/gdbserver/i387-fp.h with 100% similarity]
gdbserver/inferiors.c [moved from gdb/gdbserver/inferiors.c with 100% similarity]
gdbserver/inferiors.h [moved from gdb/gdbserver/inferiors.h with 100% similarity]
gdbserver/linux-aarch32-low.c [moved from gdb/gdbserver/linux-aarch32-low.c with 100% similarity]
gdbserver/linux-aarch32-low.h [moved from gdb/gdbserver/linux-aarch32-low.h with 100% similarity]
gdbserver/linux-aarch32-tdesc.c [moved from gdb/gdbserver/linux-aarch32-tdesc.c with 100% similarity]
gdbserver/linux-aarch32-tdesc.h [moved from gdb/gdbserver/linux-aarch32-tdesc.h with 100% similarity]
gdbserver/linux-aarch64-ipa.c [moved from gdb/gdbserver/linux-aarch64-ipa.c with 100% similarity]
gdbserver/linux-aarch64-low.c [moved from gdb/gdbserver/linux-aarch64-low.c with 100% similarity]
gdbserver/linux-aarch64-tdesc.c [moved from gdb/gdbserver/linux-aarch64-tdesc.c with 100% similarity]
gdbserver/linux-aarch64-tdesc.h [moved from gdb/gdbserver/linux-aarch64-tdesc.h with 100% similarity]
gdbserver/linux-amd64-ipa.c [moved from gdb/gdbserver/linux-amd64-ipa.c with 100% similarity]
gdbserver/linux-arm-low.c [moved from gdb/gdbserver/linux-arm-low.c with 100% similarity]
gdbserver/linux-arm-tdesc.c [moved from gdb/gdbserver/linux-arm-tdesc.c with 100% similarity]
gdbserver/linux-arm-tdesc.h [moved from gdb/gdbserver/linux-arm-tdesc.h with 100% similarity]
gdbserver/linux-bfin-low.c [moved from gdb/gdbserver/linux-bfin-low.c with 100% similarity]
gdbserver/linux-cris-low.c [moved from gdb/gdbserver/linux-cris-low.c with 100% similarity]
gdbserver/linux-crisv32-low.c [moved from gdb/gdbserver/linux-crisv32-low.c with 100% similarity]
gdbserver/linux-i386-ipa.c [moved from gdb/gdbserver/linux-i386-ipa.c with 100% similarity]
gdbserver/linux-ia64-low.c [moved from gdb/gdbserver/linux-ia64-low.c with 100% similarity]
gdbserver/linux-low.c [moved from gdb/gdbserver/linux-low.c with 100% similarity]
gdbserver/linux-low.h [moved from gdb/gdbserver/linux-low.h with 100% similarity]
gdbserver/linux-m32r-low.c [moved from gdb/gdbserver/linux-m32r-low.c with 100% similarity]
gdbserver/linux-m68k-low.c [moved from gdb/gdbserver/linux-m68k-low.c with 100% similarity]
gdbserver/linux-mips-low.c [moved from gdb/gdbserver/linux-mips-low.c with 100% similarity]
gdbserver/linux-nios2-low.c [moved from gdb/gdbserver/linux-nios2-low.c with 100% similarity]
gdbserver/linux-ppc-ipa.c [moved from gdb/gdbserver/linux-ppc-ipa.c with 100% similarity]
gdbserver/linux-ppc-low.c [moved from gdb/gdbserver/linux-ppc-low.c with 100% similarity]
gdbserver/linux-ppc-tdesc-init.h [moved from gdb/gdbserver/linux-ppc-tdesc-init.h with 100% similarity]
gdbserver/linux-s390-ipa.c [moved from gdb/gdbserver/linux-s390-ipa.c with 100% similarity]
gdbserver/linux-s390-low.c [moved from gdb/gdbserver/linux-s390-low.c with 100% similarity]
gdbserver/linux-s390-tdesc.h [moved from gdb/gdbserver/linux-s390-tdesc.h with 100% similarity]
gdbserver/linux-sh-low.c [moved from gdb/gdbserver/linux-sh-low.c with 100% similarity]
gdbserver/linux-sparc-low.c [moved from gdb/gdbserver/linux-sparc-low.c with 100% similarity]
gdbserver/linux-tic6x-low.c [moved from gdb/gdbserver/linux-tic6x-low.c with 100% similarity]
gdbserver/linux-tile-low.c [moved from gdb/gdbserver/linux-tile-low.c with 100% similarity]
gdbserver/linux-x86-low.c [moved from gdb/gdbserver/linux-x86-low.c with 100% similarity]
gdbserver/linux-x86-tdesc.c [moved from gdb/gdbserver/linux-x86-tdesc.c with 100% similarity]
gdbserver/linux-x86-tdesc.h [moved from gdb/gdbserver/linux-x86-tdesc.h with 100% similarity]
gdbserver/linux-xtensa-low.c [moved from gdb/gdbserver/linux-xtensa-low.c with 100% similarity]
gdbserver/lynx-i386-low.c [moved from gdb/gdbserver/lynx-i386-low.c with 100% similarity]
gdbserver/lynx-low.c [moved from gdb/gdbserver/lynx-low.c with 100% similarity]
gdbserver/lynx-low.h [moved from gdb/gdbserver/lynx-low.h with 100% similarity]
gdbserver/lynx-ppc-low.c [moved from gdb/gdbserver/lynx-ppc-low.c with 100% similarity]
gdbserver/mem-break.c [moved from gdb/gdbserver/mem-break.c with 100% similarity]
gdbserver/mem-break.h [moved from gdb/gdbserver/mem-break.h with 100% similarity]
gdbserver/notif.c [moved from gdb/gdbserver/notif.c with 100% similarity]
gdbserver/notif.h [moved from gdb/gdbserver/notif.h with 100% similarity]
gdbserver/nto-low.c [moved from gdb/gdbserver/nto-low.c with 100% similarity]
gdbserver/nto-low.h [moved from gdb/gdbserver/nto-low.h with 100% similarity]
gdbserver/nto-x86-low.c [moved from gdb/gdbserver/nto-x86-low.c with 100% similarity]
gdbserver/proc-service.c [moved from gdb/gdbserver/proc-service.c with 100% similarity]
gdbserver/proc-service.list [moved from gdb/gdbserver/proc-service.list with 100% similarity]
gdbserver/regcache.c [moved from gdb/gdbserver/regcache.c with 100% similarity]
gdbserver/regcache.h [moved from gdb/gdbserver/regcache.h with 100% similarity]
gdbserver/remote-utils.c [moved from gdb/gdbserver/remote-utils.c with 100% similarity]
gdbserver/remote-utils.h [moved from gdb/gdbserver/remote-utils.h with 100% similarity]
gdbserver/server.c [moved from gdb/gdbserver/server.c with 100% similarity]
gdbserver/server.h [moved from gdb/gdbserver/server.h with 100% similarity]
gdbserver/symbol.c [moved from gdb/gdbserver/symbol.c with 100% similarity]
gdbserver/target.c [moved from gdb/gdbserver/target.c with 100% similarity]
gdbserver/target.h [moved from gdb/gdbserver/target.h with 100% similarity]
gdbserver/tdesc.c [moved from gdb/gdbserver/tdesc.c with 100% similarity]
gdbserver/tdesc.h [moved from gdb/gdbserver/tdesc.h with 100% similarity]
gdbserver/thread-db.c [moved from gdb/gdbserver/thread-db.c with 100% similarity]
gdbserver/tracepoint.c [moved from gdb/gdbserver/tracepoint.c with 100% similarity]
gdbserver/tracepoint.h [moved from gdb/gdbserver/tracepoint.h with 100% similarity]
gdbserver/utils.c [moved from gdb/gdbserver/utils.c with 100% similarity]
gdbserver/utils.h [moved from gdb/gdbserver/utils.h with 100% similarity]
gdbserver/win32-arm-low.c [moved from gdb/gdbserver/win32-arm-low.c with 100% similarity]
gdbserver/win32-i386-low.c [moved from gdb/gdbserver/win32-i386-low.c with 100% similarity]
gdbserver/win32-low.c [moved from gdb/gdbserver/win32-low.c with 100% similarity]
gdbserver/win32-low.h [moved from gdb/gdbserver/win32-low.h with 100% similarity]
gdbserver/wincecompat.c [moved from gdb/gdbserver/wincecompat.c with 100% similarity]
gdbserver/wincecompat.h [moved from gdb/gdbserver/wincecompat.h with 100% similarity]
gdbserver/x86-low.c [moved from gdb/gdbserver/x86-low.c with 100% similarity]
gdbserver/x86-low.h [moved from gdb/gdbserver/x86-low.h with 100% similarity]
gdbserver/x86-tdesc.h [moved from gdb/gdbserver/x86-tdesc.h with 100% similarity]
gdbserver/xtensa-xtregs.c [moved from gdb/gdbserver/xtensa-xtregs.c with 100% similarity]
src-release.sh