diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-23 11:28:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-23 11:28:14 +0000 |
commit | a026fe9f8f2708a4cfb62395d01f6c835af07c82 (patch) | |
tree | 0f3e7428b471307e066be3cc0e4924d02c5ea19a | |
parent | 0afec82943f8d7b8feb85d5a3b503ff264e9a625 (diff) | |
download | gdb-a026fe9f8f2708a4cfb62395d01f6c835af07c82.tar.gz |
Add -Wuninitialized.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 4 | ||||
-rw-r--r-- | gdb/configure.in | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f14b47fd3ef..d18c7537c31 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,14 @@ +Tue May 23 20:47:50 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * configure.in (build_warnings): Add -Wuninitialized. + * configure: Regenerate. + Tue May 23 17:44:18 2000 Andrew Cagney <cagney@b1.cygnus.com> From Mon May 8 14:49:51 2000 Andrew Cagney <cagney@b1.cygnus.com> (gdb 5.0): From Michael Paddon <mmpp@esec.com.au>: * configure.in (AC_CHECK_HEADERS): Check for <sys/user.h>. + * configure: Re-generate. * proc-api.c: Only include <sys/user.h> when available. (ioctl_table): Check that PIOCGETPR and PIOCGETU are defined. diff --git a/gdb/configure b/gdb/configure index abbc0c3dcfb..e1eeaa069ed 100755 --- a/gdb/configure +++ b/gdb/configure @@ -3293,7 +3293,7 @@ for ac_hdr in ctype.h curses.h endian.h link.h thread_db.h proc_service.h \ string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \ term.h termio.h termios.h unistd.h wait.h sys/wait.h \ wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \ - time.h sys/ioctl.h + time.h sys/ioctl.h sys/user.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -5496,7 +5496,7 @@ fi # Don't add -Wall or -Wunused, they include -Wunused-parameter which # causes noise. build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ --Wformat -Wparentheses -Wpointer-arith" +-Wformat -Wparentheses -Wpointer-arith -Wuninitialized" # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual diff --git a/gdb/configure.in b/gdb/configure.in index c58eb355041..c884e97217f 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -485,7 +485,7 @@ fi # Don't add -Wall or -Wunused, they include -Wunused-parameter which # causes noise. build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ --Wformat -Wparentheses -Wpointer-arith" +-Wformat -Wparentheses -Wpointer-arith -Wuninitialized" # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual |