diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:53 +0000 |
commit | b03a20112fb8538e3011a8334ad43cf1a5414048 (patch) | |
tree | ac91207fe365522eb2db7cf33b068c46acd0c257 | |
parent | 70221824e31ba9c4e8cc710f11c986c37c947310 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
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. |