aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2006-01-20 21:58:16 +0000
committerJim Blandy <jimb@codesourcery.com>2006-01-20 21:58:16 +0000
commit7be93b9eea1303a9b247303a9108ad6db6a2d265 (patch)
treed7a81b7ecacaaa7d34570a27de9a18dca9233f08 /gdb/doc
parentb2a74f99b6aad3e84bd52ec1d6e7f856763c38c4 (diff)
downloadgdb-7be93b9eea1303a9b247303a9108ad6db6a2d265.zip
gdb-7be93b9eea1303a9b247303a9108ad6db6a2d265.tar.gz
gdb-7be93b9eea1303a9b247303a9108ad6db6a2d265.tar.bz2
gdb/ChangeLog:
2006-01-18 Jim Blandy <jimb@redhat.com> * configure.ac: Add -Wno-pointer-sign to list of build warnings. * configure: Regenerated. gdb/doc/ChangeLog: 2006-01-18 Jim Blandy <jimb@redhat.com> * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list of warning flags.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdbint.texinfo9
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 39b562f..c48c8f0 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-18 Jim Blandy <jimb@redhat.com>
+
+ * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
+ of warning flags.
+
2006-01-13 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Sequences): Improve menu annotations.
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 3007e0a..f7d7936 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -5016,6 +5016,15 @@ switch (sched)
@end smallexample
@item -Wunused-function
+
+@item -Wno-pointer-sign
+In version 4.0, GCC began warning about pointer argument passing or
+assignment even when the source and destination differed only in
+signedness. However, most @value{GDBN} code doesn't distinguish
+carefully between @code{char} and @code{unsigned char}. In early 2006
+the @value{GDBN} developers decided correcting these warnings wasn't
+worth the time it would take.
+
@end table
@emph{Pragmatics: Due to the way that @value{GDBN} is implemented most