From c6887cfb4ffb80337618138f4f302eb1bfb6df8a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 30 May 2020 18:37:54 +0000 Subject: [PATCH] hurd: add missing awk script dependency To make sure the *_reply_S.[ch] files get regenerated whenever we change the awk script. gdb/ChangeLog: * config/i386/i386gnu.mn (%_reply_S.c): Add dependency on $(srcdir)/reply_mig_hack.awk. --- gdb/ChangeLog | 5 +++++ gdb/config/i386/i386gnu.mn | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6f5b3522a8..36e16590b04 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-05-30 Samuel Thibault + + * config/i386/i386gnu.mn (%_reply_S.c): Add dependency on + $(srcdir)/reply_mig_hack.awk. + 2020-05-30 Samuel Thibault * gnu-nat.h (gnu_debug_flag): Set type to bool. diff --git a/gdb/config/i386/i386gnu.mn b/gdb/config/i386/i386gnu.mn index 1c3453823d5..b1985b7ad01 100644 --- a/gdb/config/i386/i386gnu.mn +++ b/gdb/config/i386/i386gnu.mn @@ -7,7 +7,7 @@ MIGCOM = $(MIG) -cc cat - /dev/null # Reply servers need special massaging of the code mig generates, to make # them work correctly for error returns in some cases. -%_reply_S.h %_reply_S.c: %_reply.defs +%_reply_S.h %_reply_S.c: %_reply.defs $(srcdir)/reply_mig_hack.awk $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \ | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \ && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c -- 2.30.2