link gdbreplay against gnulib
authorTom Tromey <tromey@redhat.com>
Wed, 6 Nov 2013 15:48:03 +0000 (08:48 -0700)
committerTom Tromey <tromey@redhat.com>
Mon, 18 Nov 2013 20:29:00 +0000 (13:29 -0700)
Later patches in this series will make changes to gdb and gdbserver
configury, necessitating the use of gnulib in gdbreplay.  This patch
introduces the dependency early, so that subsequent patches don't
break the build.

2013-11-18  Tom Tromey  <tromey@redhat.com>

* Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against
LIBGNU.

gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in

index e1ae98548edd20e97975cf3e0c744e751b11023e..13bde11a8bb435f6cd3bdd36447d6931c10698d2 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-18  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against
+       LIBGNU.
+
 2013-11-08  Tom Tromey  <tromey@redhat.com>
 
        * configure, config.in: Rebuild.
index e42c67f474b976129822f472bc1e60d734c6e142..539a66f45ae9e232342ed2711d9b01cab22d22a6 100644 (file)
@@ -286,10 +286,10 @@ all-lib: $(GNULIB_BUILDDIR)/Makefile
        @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=$(GNULIB_BUILDDIR) subdir_do
 .PHONY: all-lib
 
-gdbreplay$(EXEEXT): $(GDBREPLAY_OBS)
+gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) $(LIBGNU)
        rm -f gdbreplay$(EXEEXT)
        ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
-         $(XM_CLIBS)
+         $(XM_CLIBS) $(LIBGNU)
 
 IPA_OBJS=ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o tdesc-ipa.o ${IPA_DEPFILES}