aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-01 21:14:53 +0000
committerPedro Alves <palves@redhat.com>2012-03-01 21:14:53 +0000
commitb03a20112fb8538e3011a8334ad43cf1a5414048 (patch)
treeac91207fe365522eb2db7cf33b068c46acd0c257
parent70221824e31ba9c4e8cc710f11c986c37c947310 (diff)
downloadgdb-b03a20112fb8538e3011a8334ad43cf1a5414048.zip
gdb-b03a20112fb8538e3011a8334ad43cf1a5414048.tar.gz
gdb-b03a20112fb8538e3011a8334ad43cf1a5414048.tar.bz2
2012-03-01 Pedro Alves <palves@redhat.com>
* configure.ac (build_warnings): Add -Wmissing-prototypes. * configure: Regenerate.
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81c5c9a..db913a7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2012-03-01 Pedro Alves <palves@redhat.com>
+ * configure.ac (build_warnings): Add -Wmissing-prototypes.
+ * configure: Regenerate.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
* breakpoint.c (create_exception_master_breakpoint, trace_command)
(ftrace_command, strace_command): Make static.
diff --git a/gdb/configure b/gdb/configure
index 49e9cd8..22343f5 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -15137,7 +15137,7 @@ fi
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index fbe7d4d..e8de55c 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1795,7 +1795,7 @@ fi
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.