diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-12 13:32:15 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-03-12 13:32:16 -0600 |
commit | 4635ff975351603e64da3cbdeec3b999ee842ac8 (patch) | |
tree | 2347ceabf8611e64b4e0e753651f3ce56e8922cd /Makefile.def | |
parent | 213291361b4ddb2d05b8c89bf47d23ca4306912e (diff) | |
download | gdb-4635ff975351603e64da3cbdeec3b999ee842ac8.zip gdb-4635ff975351603e64da3cbdeec3b999ee842ac8.tar.gz gdb-4635ff975351603e64da3cbdeec3b999ee842ac8.tar.bz2 |
Change gdbserver to use existing gdbsupport
This changes the gdbserver build to use the gdbsupport that was built
for gdb.
gdbserver and gdbreplay now must use WIN32APILIBS (aka -lws2_32).
Before this change, gdbserver did not define USE_WIN32API when
building gdbsupport, but now this is always done.
ChangeLog
2020-03-12 Tom Tromey <tom@tromey.com>
* Makefile.in: Rebuild.
* Makefile.def (gdbserver): Depend on gdbsupport.
gdbserver/ChangeLog
2020-03-12 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* configure.ac (GDBSERVER_DEPFILES): Remove srv_selftest_objs.
(WIN32APILIBS): New subst.
* Makefile.in (SFILES, OBS, TAGS, GDBREPLAY_OBS): Remove
gdbsupport files.
(gdbsupport/%.o): Remove target.
(GDBSUPPORT_BUILDDIR, GDBSUPPORT): New variables.
(gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Add GDBSUPPORT.
(WIN32APILIBS): New variable.
(gdbserver$(EXEEXT)): Add WIN32APILIBS.
(gdbreplay$(EXEEXT)): Likewise.
Diffstat (limited to 'Makefile.def')
-rw-r--r-- | Makefile.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def index 3162199..76d062b 100644 --- a/Makefile.def +++ b/Makefile.def @@ -412,6 +412,7 @@ dependencies = { module=all-gdb; on=all-libctf; }; // Host modules specific to gdbserver. dependencies = { module=configure-gdbserver; on=all-gnulib; }; +dependencies = { module=all-gdbserver; on=all-gdbsupport; }; dependencies = { module=all-gdbserver; on=all-gnulib; }; dependencies = { module=all-gdbserver; on=all-libiberty; }; |