]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove one explicit rule for monitor.o
authorYao Qi <yao.qi@linaro.org>
Tue, 19 Sep 2017 09:18:57 +0000 (10:18 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 19 Sep 2017 09:18:57 +0000 (10:18 +0100)
gdb/monitor.c was removed by 40e0b27 (Delete the remaining ROM monitor
targets).

gdb:

2017-09-19  Yao Qi  <yao.qi@linaro.org>

* Makefile.in (monitor.o): Remove the rule.

gdb/ChangeLog
gdb/Makefile.in

index ab982ab5874f636ba20bf83f56b5ad6e684346ed..4779273851fd901d9281829c8540c12b2360e554 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-19  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (monitor.o): Remove the rule.
+
 2017-09-19  Yao Qi  <yao.qi@linaro.org>
 
        * annotate.h (struct annotate_arg_emitter): Use
index 9dfc117b2f4226024c6ce56ae65819fc0848b1df..5740d43bb789ee5ab727c5a46ad3aec165a07128 100644 (file)
@@ -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