Skip to content

Commit 0102731

Browse files
committed
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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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
1 parent b2ceabe commit 0102731

File tree

146 files changed

+13387
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+13387
-141
lines changed

ChangeLog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2020-01-14 Tom Tromey <[email protected]>
2+
3+
* src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport.
4+
* MAINTAINERS: Add gdbsupport.
5+
* configure: Rebuild.
6+
* configure.ac (configdirs): Add gdbsupport.
7+
* gdbsupport: New directory, move from gdb/gdbsupport.
8+
* Makefile.def (host_modules, dependencies): Add gnulib.
9+
* Makefile.in: Rebuild.
10+
111
2020-01-09 Aaron Merey <[email protected]>
212

313
* config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds

MAINTAINERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ config.guess; config.sub; readline/support/config.{sub,guess}
4141
depcomp; mkinstalldirs
4242
Send bug reports and patches to [email protected].
4343

44-
gdb/; gnulib/; readline/; sim/; GDB's part of include/
44+
gdb/; gdbsupport/; gnulib/; readline/; sim/; GDB's part of include/
4545
GDB: http://www.gnu.org/software/gdb/
4646
Patches to [email protected].
4747
See also gdb/MAINTAINERS and sim/MAINTAINERS.

Makefile.def

+7
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ host_modules= { module= zlib; no_install=true; no_check=true;
113113
bootstrap=true;
114114
extra_configure_flags='@extra_host_zlib_configure_flags@';};
115115
host_modules= { module= gnulib; };
116+
host_modules= { module= gdbsupport; };
116117
host_modules= { module= gdb; };
117118
host_modules= { module= expect; };
118119
host_modules= { module= guile; };
@@ -392,12 +393,14 @@ dependencies = { module=configure-gdb; on=all-intl; };
392393
dependencies = { module=configure-gdb; on=configure-sim; };
393394
dependencies = { module=configure-gdb; on=all-bfd; };
394395
dependencies = { module=configure-gdb; on=all-gnulib; };
396+
dependencies = { module=configure-gdb; on=all-gdbsupport; };
395397
// Depend on all-libiconv so that configure checks for iconv
396398
// functions will work.
397399
dependencies = { module=configure-gdb; on=all-libiconv; };
398400
dependencies = { module=all-gdb; on=all-libiberty; };
399401
dependencies = { module=all-gdb; on=all-libiconv; };
400402
dependencies = { module=all-gdb; on=all-gnulib; };
403+
dependencies = { module=all-gdb; on=all-gdbsupport; };
401404
dependencies = { module=all-gdb; on=all-opcodes; };
402405
dependencies = { module=all-gdb; on=all-readline; };
403406
dependencies = { module=all-gdb; on=all-build-bison; };
@@ -412,6 +415,10 @@ dependencies = { module=all-libgui; on=all-tcl; };
412415
dependencies = { module=all-libgui; on=all-tk; };
413416
dependencies = { module=all-libgui; on=all-itcl; };
414417

418+
dependencies = { module=configure-gdbsupport; on=configure-bfd; };
419+
dependencies = { module=configure-gdbsupport; on=configure-gnulib; };
420+
dependencies = { module=all-gdbsupport; on=all-gnulib; };
421+
415422
// Host modules specific to binutils.
416423
dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
417424
dependencies = { module=configure-bfd; on=configure-intl; };

0 commit comments

Comments
 (0)