summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-16 17:44:51 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-16 17:44:51 +0000
commitf203bf730e4311ec2270f284ceb562ecdc024907 (patch)
tree5008bbb13a4e362fc6a80eaa1a9135b4baa6dbee
parentb7034b618d5aa82ff20d463147bbc855664a3014 (diff)
downloadgdb-f203bf730e4311ec2270f284ceb562ecdc024907.tar.gz
2003-08-16 Andrew Cagney <cagney@redhat.com>
* Makefile.in (printcmd.o, valprint.o): Do not try to build with -Werror. -Wformat-nonliteral problems.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 84da3a273b0..55536ce31d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-16 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (printcmd.o, valprint.o): Do not try to build with
+ -Werror. -Wformat-nonliteral problems.
+
2003-08-15 J. Brobecker <brobecker@gnat.com>
Further multiarching work mostly for hppa64-*-hpux11:
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 21910e13ef7..5f2a6a88910 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1348,6 +1348,12 @@ v850ice.o: $(srcdir)/v850ice.c
$(GDBTK_CFLAGS) \
$(srcdir)/v850ice.c
+# FIXME: cagney/2003-08-10: Do not try to build "valprint.c" with
+# -Wformat-nonliteral. It relies on local_hex_format et.al. and
+# that's a mess. It needs a serious overhaul.
+valprint.o: $(srcdir)/valprint.c
+ $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/valprint.c
+
# FIXME: z8k-tdep.c calls _initialize_gdbtypes(). Since that isn't
# declared -Wimplicit fails. It should be using the GDBARCH framework.
# cagney 1999-09-02.