aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-06 08:48:03 -0700
committerTom Tromey <tromey@redhat.com>2013-11-18 13:29:00 -0700
commit0a5dd17d950c87a2c096f79a37c9a304a795c2bd (patch)
tree4a59b0c28301857989d57f19cc6da47aaa71aaaa
parentc06ec7240faae97834f889f80e493f15514877d8 (diff)
downloadgdb-0a5dd17d950c87a2c096f79a37c9a304a795c2bd.zip
gdb-0a5dd17d950c87a2c096f79a37c9a304a795c2bd.tar.gz
gdb-0a5dd17d950c87a2c096f79a37c9a304a795c2bd.tar.bz2
link gdbreplay against gnulib
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.
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index e1ae985..13bde11 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index e42c67f..539a66f 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -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}