diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-16 17:49:12 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-16 17:49:12 +0000 |
commit | 4677b45628b58218172dba9597a257e8f3229deb (patch) | |
tree | 13a444b13a1cab34646c60a9e636add0c8ca9c54 /gdb/Makefile.in | |
parent | 07978cd82389d4b65b44ea25a2808738569ea6a6 (diff) | |
download | gdb-4677b45628b58218172dba9597a257e8f3229deb.zip gdb-4677b45628b58218172dba9597a257e8f3229deb.tar.gz gdb-4677b45628b58218172dba9597a257e8f3229deb.tar.bz2 |
Oops, merge lost Makefile.in:printcmd.o part of change:
2003-08-16 Andrew Cagney <cagney@redhat.com>
* Makefile.in (printcmd.o, valprint.o): Do not try to build with
-Werror. -Wformat-nonliteral problems.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 5f2a6a8..99534aa 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1331,6 +1331,13 @@ main.o: main.c monitor.o: $(srcdir)/monitor.c $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/monitor.c +# FIXME: cagney/2003-08-10: Do not try to build "printcmd.c" with +# -Wformat-nonliteral. It needs to be overhauled so that it doesn't +# pass user input strings as the format parameter to host printf +# function calls. +printcmd.o: $(srcdir)/printcmd.c + $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/printcmd.c + # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't # match output format strings. procfs.o: $(srcdir)/procfs.c |