summaryrefslogtreecommitdiff
path: root/gdb/doc/gdbint.texinfo
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-07-22 18:18:10 +0000
committerAndrew Cagney <cagney@redhat.com>2003-07-22 18:18:10 +0000
commit8d8748517953030fe290e3f7eb34683dd13a95c1 (patch)
treeb09038634db67008e8ee3d468e3d0f3d1a8b1be1 /gdb/doc/gdbint.texinfo
parentbc4dbc9fd9a1924b825fbaa8830d24cff70d2d79 (diff)
downloadgdb-8d8748517953030fe290e3f7eb34683dd13a95c1.tar.gz
2003-07-22 Andrew Cagney <cagney@redhat.com>
* configure.in (build_warnings): Add -Wformat-nonliteral. * configure: Re-generate. 2003-07-22 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror list.
Diffstat (limited to 'gdb/doc/gdbint.texinfo')
-rw-r--r--gdb/doc/gdbint.texinfo5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 2184735df6e..9767f7cb91d 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -41,7 +41,7 @@ Software Foundation raise funds for GNU development.''
@page
@tex
\def\$#1${{#1}} % Kluge: collect RCS revision info without $...$
-\xdef\manvers{\$Revision: 1.155 $} % For use in headers, footers too
+\xdef\manvers{\$Revision: 1.156 $} % For use in headers, footers too
{\parskip=0pt
\hfill Cygnus Solutions\par
\hfill \manvers\par
@@ -5009,8 +5009,9 @@ that use register windows.
@item -Wtrigraphs
@item -Wformat
+@itemx -Wformat-nonliteral
Since @value{GDBN} uses the @code{format printf} attribute on all
-@code{printf} like functions this checks not just @code{printf} calls
+@code{printf} like functions these check not just @code{printf} calls
but also calls to functions such as @code{fprintf_unfiltered}.
@item -Wparentheses