From: Yao Qi Date: Tue, 19 Sep 2017 09:18:57 +0000 (+0100) Subject: Remove one explicit rule for monitor.o X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa70c9f1950b25b48f8fd6770f5d38a8252c24a4;p=binutils-gdb.git Remove one explicit rule for monitor.o gdb/monitor.c was removed by 40e0b27 (Delete the remaining ROM monitor targets). gdb: 2017-09-19 Yao Qi * Makefile.in (monitor.o): Remove the rule. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab982ab5874..4779273851f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-19 Yao Qi + + * Makefile.in (monitor.o): Remove the rule. + 2017-09-19 Yao Qi * annotate.h (struct annotate_arg_emitter): Use diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 9dfc117b2f4..5740d43bb78 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2711,17 +2711,6 @@ ALLDEPFILES = \ # Some files need explicit build rules (due to -Werror problems) or due # to sub-directory fun 'n' games. -# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral -# errors. It turns out that that is the least of monitor.c's -# problems. The function print_vsprintf appears to be using -# va_arg(long) to extract CORE_ADDR parameters - something that -# definitly will not work. "monitor.c" needs to be rewritten so that -# it doesn't use format strings and instead uses callbacks. -monitor.o: $(srcdir)/monitor.c - $(COMPILE.pre) $(INTERNAL_CFLAGS) $(GDB_WARN_CFLAGS_NO_FORMAT) \ - $(COMPILE.post) $(srcdir)/monitor.c - $(POSTCOMPILE) - # Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually # checks format strings. printcmd.o: $(srcdir)/printcmd.c