aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-11-24 11:02:59 +0000
committerAndrew Cagney <cagney@redhat.com>2000-11-24 11:02:59 +0000
commit3b851bce1db6dd84666a59d7c0134cb502114557 (patch)
tree247220d5108ca525a8c8a41330421789c77e33a9 /gdb/doc
parent64426696342521c31916f186cd62cc5d1a2fc54e (diff)
downloadgdb-3b851bce1db6dd84666a59d7c0134cb502114557.zip
gdb-3b851bce1db6dd84666a59d7c0134cb502114557.tar.gz
gdb-3b851bce1db6dd84666a59d7c0134cb502114557.tar.bz2
Add --enable-gdb-build-warnings=... to configure{,.in}.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdbint.texinfo11
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7c64f05..18162c1 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 20 21:29:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * gdbint.texinfo (Coding): Update current value of
+ --enable-build-warnings. Mention --enable-gdb-build-warnings.
+
2000-11-19 Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo (Continuing and Stepping): Fixed markup and typos,
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 019274c..7e486f4 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -2773,11 +2773,12 @@ does not require it, @value{GDBN} requires it.
@value{GDBN} follows an additional set of coding standards specific to @value{GDBN},
as described in the following sections.
-You can configure with @samp{--enable-build-warnings} to get GCC to
-check on a number of these rules. @value{GDBN} sources ought not to engender any
-complaints, unless they are caused by bogus host systems. (The exact
-set of enabled warnings is currently @samp{-Wall -Wpointer-arith
--Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations}.
+You can configure with @samp{--enable-build-warnings} or
+@samp{--enable-gdb-build-warnings} to get GCC to check on a number of
+these rules. @value{GDBN} sources ought not to engender any complaints,
+unless they are caused by bogus host systems. (The exact set of enabled
+warnings is currently @samp{-Wimplicit -Wreturn-type -Wcomment
+-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized}.
@subsection Formatting