From 0a5dd17d950c87a2c096f79a37c9a304a795c2bd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 6 Nov 2013 08:48:03 -0700 Subject: [PATCH] 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 * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against LIBGNU. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/Makefile.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index e1ae98548ed..13bde11a8bb 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-11-18 Tom Tromey + + * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against + LIBGNU. + 2013-11-08 Tom Tromey * configure, config.in: Rebuild. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index e42c67f474b..539a66f45ae 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} -- 2.30.2