mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
2004-01-13 Andrew Cagney <cagney@redhat.com>
* configure.in: Update copyright year. (build_warnings): Add -Wunused-label. * configure: Re-generate. 2004-01-13 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo: Update copyright year. (Coding): Add -Wunused-label to list of -Werror warnings.
This commit is contained in:
parent
f0312d395b
commit
0f0cffd251
@ -1,3 +1,9 @@
|
||||
2004-01-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* configure.in: Update copyright year.
|
||||
(build_warnings): Add -Wunused-label.
|
||||
* configure: Re-generate.
|
||||
|
||||
2004-01-12 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* exec.h (exec_ops): Make "extern".
|
||||
|
89
gdb/configure
vendored
89
gdb/configure
vendored
@ -9221,9 +9221,10 @@ fi
|
||||
# NOTE: If you add to this list, remember to update
|
||||
# gdb/doc/gdbint.texinfo.
|
||||
build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
|
||||
-Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral"
|
||||
-Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \
|
||||
-Wunused-label"
|
||||
# Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
|
||||
# -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
|
||||
# -Wunused-function -Wunused-variable -Wunused-value
|
||||
# -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
|
||||
# -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
|
||||
# -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
|
||||
@ -9265,7 +9266,7 @@ WERROR_CFLAGS=""
|
||||
if test "x${build_warnings}" != x -a "x$GCC" = xyes
|
||||
then
|
||||
echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
|
||||
echo "configure:9269: checking compiler warning flags" >&5
|
||||
echo "configure:9270: checking compiler warning flags" >&5
|
||||
# Separate out the -Werror flag as some files just cannot be
|
||||
# compiled with it enabled.
|
||||
for w in ${build_warnings}; do
|
||||
@ -9275,14 +9276,14 @@ echo "configure:9269: checking compiler warning flags" >&5
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $w"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9279 "configure"
|
||||
#line 9280 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
WARN_CFLAGS="${WARN_CFLAGS} $w"
|
||||
else
|
||||
@ -9330,12 +9331,12 @@ fi
|
||||
|
||||
# In the Cygwin environment, we need some additional flags.
|
||||
echo $ac_n "checking for cygwin""... $ac_c" 1>&6
|
||||
echo "configure:9334: checking for cygwin" >&5
|
||||
echo "configure:9335: checking for cygwin" >&5
|
||||
if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9339 "configure"
|
||||
#line 9340 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if defined (__CYGWIN__) || defined (__CYGWIN32__)
|
||||
@ -9413,7 +9414,7 @@ if test "${with_tclconfig+set}" = set; then
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
|
||||
echo "configure:9417: checking for Tcl configuration" >&5
|
||||
echo "configure:9418: checking for Tcl configuration" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -9522,7 +9523,7 @@ if test "${with_tkconfig+set}" = set; then
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
|
||||
echo "configure:9526: checking for Tk configuration" >&5
|
||||
echo "configure:9527: checking for Tk configuration" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -9631,7 +9632,7 @@ fi
|
||||
|
||||
no_tcl=true
|
||||
echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
|
||||
echo "configure:9635: checking for Tcl private headers. dir=${configdir}" >&5
|
||||
echo "configure:9636: checking for Tcl private headers. dir=${configdir}" >&5
|
||||
# Check whether --with-tclinclude or --without-tclinclude was given.
|
||||
if test "${with_tclinclude+set}" = set; then
|
||||
withval="$with_tclinclude"
|
||||
@ -9697,17 +9698,17 @@ fi
|
||||
if test x"${ac_cv_c_tclh}" = x ; then
|
||||
ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
|
||||
echo "configure:9701: checking for tclInt.h" >&5
|
||||
echo "configure:9702: checking for tclInt.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9706 "configure"
|
||||
#line 9707 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <tclInt.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:9711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:9712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@ -9767,7 +9768,7 @@ fi
|
||||
#
|
||||
no_tk=true
|
||||
echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
|
||||
echo "configure:9771: checking for Tk private headers" >&5
|
||||
echo "configure:9772: checking for Tk private headers" >&5
|
||||
# Check whether --with-tkinclude or --without-tkinclude was given.
|
||||
if test "${with_tkinclude+set}" = set; then
|
||||
withval="$with_tkinclude"
|
||||
@ -9833,17 +9834,17 @@ fi
|
||||
if test x"${ac_cv_c_tkh}" = x ; then
|
||||
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
|
||||
echo "configure:9837: checking for tk.h" >&5
|
||||
echo "configure:9838: checking for tk.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9842 "configure"
|
||||
#line 9843 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <tk.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:9847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:9848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@ -9889,7 +9890,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
|
||||
echo "configure:9893: checking for Itcl private headers. srcdir=${srcdir}" >&5
|
||||
echo "configure:9894: checking for Itcl private headers. srcdir=${srcdir}" >&5
|
||||
if test x"${ac_cv_c_itclh}" = x ; then
|
||||
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
|
||||
if test -f $i/generic/itcl.h ; then
|
||||
@ -9912,7 +9913,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
|
||||
echo "configure:9916: checking for Itk private headers. srcdir=${srcdir}" >&5
|
||||
echo "configure:9917: checking for Itk private headers. srcdir=${srcdir}" >&5
|
||||
if test x"${ac_cv_c_itkh}" = x ; then
|
||||
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
|
||||
if test -f $i/generic/itk.h ; then
|
||||
@ -9967,7 +9968,7 @@ if test "${with_itclconfig+set}" = set; then
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
|
||||
echo "configure:9971: checking for Itcl configuration" >&5
|
||||
echo "configure:9972: checking for Itcl configuration" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10070,7 +10071,7 @@ if test "${with_itkconfig+set}" = set; then
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
|
||||
echo "configure:10074: checking for Itk configuration" >&5
|
||||
echo "configure:10075: checking for Itk configuration" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10213,7 +10214,7 @@ fi
|
||||
# Uses ac_ vars as temps to allow command line to override cache and checks.
|
||||
# --without-x overrides everything else, but does not touch the cache.
|
||||
echo $ac_n "checking for X""... $ac_c" 1>&6
|
||||
echo "configure:10217: checking for X" >&5
|
||||
echo "configure:10218: checking for X" >&5
|
||||
|
||||
# Check whether --with-x or --without-x was given.
|
||||
if test "${with_x+set}" = set; then
|
||||
@ -10275,12 +10276,12 @@ if test "$ac_x_includes" = NO; then
|
||||
|
||||
# First, try using that file with no special directory specified.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10279 "configure"
|
||||
#line 10280 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$x_direct_test_include>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:10284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:10285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@ -10349,14 +10350,14 @@ if test "$ac_x_libraries" = NO; then
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-l$x_direct_test_library $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10353 "configure"
|
||||
#line 10354 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
${x_direct_test_function}()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
LIBS="$ac_save_LIBS"
|
||||
# We can link X programs with no special library path.
|
||||
@ -10570,7 +10571,7 @@ fi
|
||||
# We only build gdbserver automatically if host and target are the same.
|
||||
if test "x$target" = "x$host"; then
|
||||
echo $ac_n "checking whether gdbserver is supported on this host""... $ac_c" 1>&6
|
||||
echo "configure:10574: checking whether gdbserver is supported on this host" >&5
|
||||
echo "configure:10575: checking whether gdbserver is supported on this host" >&5
|
||||
if test "x$build_gdbserver" = xyes; then
|
||||
configdirs="$configdirs gdbserver"
|
||||
echo "$ac_t""yes" 1>&6
|
||||
@ -10634,12 +10635,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
|
||||
echo "configure:10638: checking for Cygwin environment" >&5
|
||||
echo "configure:10639: checking for Cygwin environment" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10643 "configure"
|
||||
#line 10644 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
@ -10650,7 +10651,7 @@ int main() {
|
||||
return __CYGWIN__;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cygwin=yes
|
||||
else
|
||||
@ -10667,19 +10668,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
|
||||
CYGWIN=
|
||||
test "$ac_cv_cygwin" = yes && CYGWIN=yes
|
||||
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
|
||||
echo "configure:10671: checking for mingw32 environment" >&5
|
||||
echo "configure:10672: checking for mingw32 environment" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10676 "configure"
|
||||
#line 10677 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
return __MINGW32__;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_mingw32=yes
|
||||
else
|
||||
@ -10698,7 +10699,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
|
||||
|
||||
|
||||
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
||||
echo "configure:10702: checking for executable suffix" >&5
|
||||
echo "configure:10703: checking for executable suffix" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10708,10 +10709,10 @@ else
|
||||
rm -f conftest*
|
||||
echo 'int main () { return 0; }' > conftest.$ac_ext
|
||||
ac_cv_exeext=
|
||||
if { (eval echo configure:10712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
if { (eval echo configure:10713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
for file in conftest.*; do
|
||||
case $file in
|
||||
*.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;
|
||||
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
|
||||
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
||||
esac
|
||||
done
|
||||
@ -10750,7 +10751,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for iconv""... $ac_c" 1>&6
|
||||
echo "configure:10754: checking for iconv" >&5
|
||||
echo "configure:10755: checking for iconv" >&5
|
||||
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10758,7 +10759,7 @@ else
|
||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
||||
am_cv_lib_iconv=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10762 "configure"
|
||||
#line 10763 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
@ -10768,7 +10769,7 @@ iconv_t cd = iconv_open("","");
|
||||
iconv_close(cd);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
am_cv_func_iconv=yes
|
||||
else
|
||||
@ -10780,7 +10781,7 @@ rm -f conftest*
|
||||
am_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -liconv"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10784 "configure"
|
||||
#line 10785 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
@ -10790,7 +10791,7 @@ iconv_t cd = iconv_open("","");
|
||||
iconv_close(cd);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
am_cv_lib_iconv=yes
|
||||
am_cv_func_iconv=yes
|
||||
@ -10811,13 +10812,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6
|
||||
EOF
|
||||
|
||||
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
|
||||
echo "configure:10815: checking for iconv declaration" >&5
|
||||
echo "configure:10816: checking for iconv declaration" >&5
|
||||
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10821 "configure"
|
||||
#line 10822 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -10836,7 +10837,7 @@ int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
am_cv_proto_iconv_arg1=""
|
||||
else
|
||||
|
@ -1,5 +1,5 @@
|
||||
dnl Autoconf configure script for GDB, the GNU debugger.
|
||||
dnl Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
dnl Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
dnl Free Software Foundation, Inc.
|
||||
dnl
|
||||
dnl This file is part of GDB.
|
||||
@ -1024,9 +1024,10 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
|
||||
# NOTE: If you add to this list, remember to update
|
||||
# gdb/doc/gdbint.texinfo.
|
||||
build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
|
||||
-Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral"
|
||||
-Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \
|
||||
-Wunused-label"
|
||||
# Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
|
||||
# -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
|
||||
# -Wunused-function -Wunused-variable -Wunused-value
|
||||
# -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
|
||||
# -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
|
||||
# -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-01-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* gdbint.texinfo: Update copyright year.
|
||||
(Coding): Add -Wunused-label to list of -Werror warnings.
|
||||
|
||||
2004-01-08 Jason Molenda <jmolenda@apple.com>
|
||||
Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
@ifinfo
|
||||
This file documents the internals of the GNU debugger @value{GDBN}.
|
||||
Copyright 1990,1991,1992,1993,1994,1996,1998,1999,2000,2001,2002,2003
|
||||
Copyright 1990,1991,1992,1993,1994,1996,1998,1999,2000,2001,2002,2003,2004
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by Cygnus Solutions. Written by John Gilmore.
|
||||
Second Edition by Stan Shebs.
|
||||
@ -48,7 +48,7 @@ Free Documentation License''.
|
||||
|
||||
@vskip 0pt plus 1filll
|
||||
Copyright @copyright{} 1990,1991,1992,1993,1994,1996,1998,1999,2000,2001,
|
||||
2002, 2003 Free Software Foundation, Inc.
|
||||
2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.1 or
|
||||
@ -5132,6 +5132,23 @@ This warning includes uses of the assignment operator within an
|
||||
@item -Wpointer-arith
|
||||
|
||||
@item -Wuninitialized
|
||||
|
||||
@item -Wunused-label
|
||||
This warning has the additional benefit of detecting the absence of the
|
||||
@code{case} reserved word in a switch statement:
|
||||
@smallexample
|
||||
enum @{ FD_SCHEDULED, NOTHING_SCHEDULED @} sched;
|
||||
@dots{}
|
||||
switch (sched)
|
||||
@{
|
||||
case FD_SCHEDULED:
|
||||
@dots{};
|
||||
break;
|
||||
NOTHING_SCHEDULED:
|
||||
@dots{};
|
||||
break;
|
||||
@}
|
||||
@end smallexample
|
||||
@end table
|
||||
|
||||
@emph{Pragmatics: Due to the way that @value{GDBN} is implemented most
|
||||
|
Loading…
Reference in New Issue
Block a user