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 /gdbserver/configure | |
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 'gdbserver/configure')
-rwxr-xr-x | gdbserver/configure | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdbserver/configure b/gdbserver/configure index 3f30a2b..55cf241 100755 --- a/gdbserver/configure +++ b/gdbserver/configure @@ -655,6 +655,7 @@ DEPDIR am__leading_dot host_noncanonical target_noncanonical +WIN32APILIBS LTLIBIPT LIBIPT HAVE_LIBIPT @@ -8900,6 +8901,8 @@ $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; } fi +# This is set by GDB_AC_COMMON. + # Check whether we will enable the inclusion of unit tests when @@ -8931,8 +8934,6 @@ if $enable_unittests; then $as_echo "#define GDB_SELF_TEST 1" >>confdefs.h - srv_selftest_objs="gdbsupport/selftest.o" - fi @@ -10633,7 +10634,7 @@ $as_echo "#define USE_XML 1" >>confdefs.h done fi -GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_selftest_objs" +GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles" GDBSERVER_LIBS="$srv_libs" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5 |