summaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:37:54 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:40:29 +0000
commitc6887cfb4ffb80337618138f4f302eb1bfb6df8a (patch)
treead129e94ca1cd4315cf84ae43fa36879b12b29f8 /gdb/config
parent6930bffe3373690b3431d6291f9f7c116d6a1ec4 (diff)
downloadbinutils-gdb-c6887cfb4ffb80337618138f4f302eb1bfb6df8a.tar.gz
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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/i386gnu.mn2
1 files changed, 1 insertions, 1 deletions
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