Commit Graph

43 Commits

Author SHA1 Message Date
Tom Tromey 919adfe840 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
2020-02-07 08:42:25 -07:00
Tom Tromey 01027315f5 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
2020-01-14 16:25:02 -07:00
Tom Tromey 73cc72729a Move gnulib to top level
This patch moves the gdb/gnulib subdirectory to the top level.

It adjusts the top-level build system to build gnulib when necessary,
and changes gdb to use this.  However, gdbserver still builds its own
copy of gnulib, just from the new source location.

A small hack was needed to ensure that gnulib is only built when gdb
is enabled.  The Makefile only provides an ordering -- the directory
must be mentioned in configdirs to actually be compiled at all.

Most of the patch is just a "git mv" of gnulib, though a few minor
path adjustments were needed in some files there.

Tested by the buildbot.

ChangeLog
2019-06-14  Tom Tromey  <tom@tromey.com>

	* MAINTAINERS: Add gnulib.
	* gnulib: New directory, move from gdb/gnulib.
	* configure.ac (host_libs): Add gnulib.
	* configure: Rebuild.
	* Makefile.def (host_modules, dependencies): Add gnulib.
	* Makefile.in: Rebuild.

gdb/ChangeLog
2019-06-14  Tom Tromey  <tom@tromey.com>

	* gnulib: Move directory to top-level.
	* configure.ac: Don't configure gnulib.
	* configure: Rebuild.
	* common/common-defs.h: Use new path to gnulib.
	* Makefile.in (GNULIB_BUILDDIR): Now ../gnulib.
	(GNULIB_H): Remove.
	(INCGNU): Look in new gnulib location.
	(HFILES_NO_SRCDIR): Remove gnulib files.
	(SUBDIR, REQUIRED_SUBDIRS): Remove gnulib.
	(generated_files): Remove GNULIB_H.
	($(LIBGNU), all-lib): Remove targets.
	(distclean): Don't mention GNULIB_BUILDDIR.
	($(GNULIB_BUILDDIR)/Makefile): Remove target.

gdb/gdbserver/ChangeLog
2019-06-14  Tom Tromey  <tom@tromey.com>

	* configure.ac: Use new path to gnulib.
	* configure: Rebuild.
	* Makefile.in (INCGNU, $(GNULIB_BUILDDIR)/Makefile): Use new path
	to gnulib.

gnulib/ChangeLog
2019-06-14  Tom Tromey  <tom@tromey.com>

	* update-gnulib.sh: Adjust paths.
	* Makefile.in: Adjust paths.
	* configure.ac: Adjust paths.  Use ACX_LARGEFILE.
	* configure: Rebuild.
2019-06-14 12:40:02 -06:00
Nick Alcock 88981b157b Add libctf to top-level MAINTAINERS; add myself as CTF maintainer. 2019-05-28 17:10:04 +01:00
Doug Evans 336649dc25 Update description of ownership of files in include/ 2014-11-04 16:14:14 -08:00
Mike Frysinger 9eb322aa05 MAINTAINERS: clarify policy with config/ (and other top level files)
Rather than copy & paste more text, just merge the existing config/
section with the existing intl/ section.  This ends up clarifying
the policy with that subdir (and top level files) that any commit
made to gcc's repo is allowed to be merged with the sourceware tree
without pre-approval.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-12 03:10:17 +00:00
Ralf Wildenhues dcb5e50678 Import move-if-change script from gnulib.
/:
	PR binutils/12283
	* MAINTAINERS (mkinstalldirs): Comes from Automake.
	(move-if-change): Comes from gnulib.
	* move-if-change: Import version from gnulib.
2011-02-12 15:47:02 +00:00
Christopher Faylor bf11021653 * MAINTAINERS: Perform some obvious fixups. 2009-08-19 02:53:50 +00:00
Nick Clifton a86a761e17 * MAINTAINERS: Replace reference to configure.in with reference to configure.ac. 2008-04-18 08:55:06 +00:00
Ben Elliston 29ce65ec6f Add elfcpp, gold directories. 2008-03-24 20:19:41 +00:00
Daniel Jacobowitz f5bc1778c3 * src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
* libdecnumber: New directory, imported from GCC.
2007-10-11 18:15:02 +00:00
Steve Ellcey bf070c84b1 2006-05-22 Steve Ellcey <sje@cup.hp.com>
* MAINTAINERS: Change intl updating instructions.
	* config.rpath: Copy from GCC tree.
	* intl: Replace contents of intl directory with intl from GCC tree.
2006-05-22 15:30:13 +00:00
Nick Clifton 681f031de1 Update information about: config-ml.in; makefile.vms; mkdep; setup.com;
etc/; intl/; utils/; compile; depcomp; install-sh; missing; ylwrap;
config/
2006-03-01 10:25:01 +00:00
Ben Elliston f7e69b447f Remove dejagnu/ entry. 2005-06-29 02:05:07 +00:00
Andrew Cagney 9c73618c63 2005-02-08 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
	gdb/ section.  Update GDB's URL.
2005-02-08 22:37:35 +00:00
Jim Blandy 6b8fea993e * MAINTAINERS: List 'depcomp' as part of automake. 2004-12-09 21:59:14 +00:00
Richard Sandiford 73fb706800 Remove config.if. 2004-12-03 10:30:13 +00:00
Ben Elliston 892f2892de Include Makefile.*, not just Makefile.in, in the top-level policy. 2004-06-09 22:48:28 +00:00
Ben Elliston 3d49163b8c Update with respect to DejaGnu and Expect. 2004-06-09 22:14:10 +00:00
Ben Elliston 010abebbb1 Typo fix: s/otheriwse/otherwise/ 2004-04-14 01:26:14 +00:00
Ben Elliston e793df0b8e Update libtool entry. 2004-04-13 03:49:20 +00:00
Stan Shebs 5e2b61fb51 Remove MPW support, no longer used.
* mpw-README, mpw-build.in, mpw-config.in, mpw-configure,
        mpw-install: Remove files.
        * src-release (DEVO_SUPPORT): Remove names of removed files.
        * MAINTAINERS: Likewise.
2004-03-25 17:51:10 +00:00
Ben Elliston 95a745092b Revise DejaGnu patch submission guidelines. 2003-08-23 08:51:04 +00:00
Michael Chastain 530f3c202a Add 'src-release'. 'src-release' was carved out of 'Makefile.in',
so use the same policy for it.
2003-08-15 21:47:31 +00:00
Andrew Cagney 2739f79a3b 2003-05-02 Andrew Cagney <cagney@redhat.com>
* New file.
2003-05-03 00:44:23 +00:00
Chris Demetriou 611e7523af 2002-07-19 Chris Demetriou <cgd@broadcom.com>
* MAINTAINERS: Clarify updates of config.guess and config.sub, and
	add one instance of them which was missed to the list to update.
2002-07-19 18:16:30 +00:00
Andrew Cagney 8f1579c0b1 * MAINTAINERS: Update dejagnu/ 2002-04-07 19:17:07 +00:00
H.J. Lu b020f6ace7 2002-01-16 H.J. Lu (hjl@gnu.org)
* config.guess: Import from master sources, rev 1.225.
	* config.sub: Import from master sources, rev 1.238.

	* MAINTAINERS: Updated notes on config.guess and config.sub.
2002-01-16 23:20:25 +00:00
Ben Elliston a106bb62e1 * MAINTAINERS: Update URL for config.* scripts. 2002-01-02 21:44:52 +00:00
Nick Clifton d932cae796 gcc adopts symlink-tree, refer more to libiberty.
symlink-tree: handle DOS-style absolute paths.
2001-12-05 10:07:09 +00:00
DJ Delorie 4dca840345 * MAINTAINERS: Clarify libiberty merge rules and procedures. 2001-07-26 14:20:05 +00:00
Andrew Cagney 5c883cdc50 Clone src/config.guess. Mention in MAINTAINERS. 2001-07-20 20:08:08 +00:00
Frank Ch. Eigler a480121031 * no need to inform sid@sourceware about dejagnu patches. 2001-07-17 15:20:21 +00:00
Andrew Cagney 5b5d0a9784 Update local local copies of config.sub and config.guess.
Mention those files in MAINTAINERS.
2001-07-17 00:30:01 +00:00
Andrew Cagney 7770f16a57 General cleanup. 2001-01-16 05:30:31 +00:00
Andrew Cagney 4a9e399b84 Clarify dejagnu 2001-01-16 05:22:12 +00:00
Frank Ch. Eigler 53ef83d385 * add sid/ delegation 2000-12-07 21:29:37 +00:00
Ben Elliston 0d1176dd35 Add mail submission addresses for autoconf and config.{guess,sub}. 2000-10-24 01:08:11 +00:00
Frank Ch. Eigler 1ce322678c * s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/
2000-07-28 10:09:30 +00:00
Andrew Cagney 597f589d01 Clarify texinfo/ 2000-07-27 07:12:00 +00:00
Andrew Cagney dde2bf57f7 Typo. bfd@sourceware -> binutils@sourceware. 2000-05-18 00:29:13 +00:00
Christopher Faylor f9e73361c8 Update winsup stuff. 2000-04-03 01:26:01 +00:00
Andrew Cagney 1317354974 For want of something better. List where to go to when wanting to
make a toplevel change.
2000-04-03 01:14:00 +00:00