diff options
author | Michael Chastain <mec@google.com> | 2004-08-23 13:43:15 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-08-23 13:43:15 +0000 |
commit | fffc87aef74eb2b9d17d7524e464368b1ac07b1b (patch) | |
tree | fbca67f5c9365dd328d0797b8c7662d14129d6b7 | |
parent | d782e0bfb0a24a2bf10d4b0b3e9542959b9a8bd3 (diff) | |
download | binutils-fffc87aef74eb2b9d17d7524e464368b1ac07b1b.zip binutils-fffc87aef74eb2b9d17d7524e464368b1ac07b1b.tar.gz binutils-fffc87aef74eb2b9d17d7524e464368b1ac07b1b.tar.bz2 |
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/lib/compiler.c | 12 | ||||
-rw-r--r-- | gdb/testsuite/lib/compiler.cc | 10 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 6 |
4 files changed, 9 insertions, 25 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index af45799..f54f1f8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2004-08-23 Michael Chastain <mec.gnu@mindspring.com> + * lib/gdb.exp: Remove signed_keyword_not_used. + * lib/compiler.c: Likewise. + * lib/compiler.cc: Likewise. + +2004-08-23 Michael Chastain <mec.gnu@mindspring.com> + * gdb.base/whatis.c: Remove conditional disabling of "signed". * gdb.base/whatis.exp: Remove signed_keyword_not_used. diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index da2fb0c..8ebccaf 100644 --- a/gdb/testsuite/lib/compiler.c +++ b/gdb/testsuite/lib/compiler.c @@ -16,8 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - Please email any bugs, comments, and/or additions to this file to: - bug-gdb@prep.ai.mit.edu */ + */ /* Sometimes the behavior of a test depends upon the compiler used to compile the test program. A test script can call get_compiler_info @@ -32,7 +31,7 @@ TODO: all clients should use test_compiler_info and should not use gcc_compiled, hp_cc_compiler, or hp_aCC_compiler. - TODO: purge signed_keyword_not_used. */ + */ /* Note the semicolon at the end of this line. Older versions of hp c++ have a bug in string preprocessing: if the last token on a @@ -65,10 +64,3 @@ set compiler_info [join {hpcc __HP_cc} -] #if defined (__HP_aCC) set compiler_info [join {hpacc __HP_aCC} -] #endif - -/* gdb.base/whatis.exp still uses this */ -#if defined (__STDC__) || defined (_AIX) -set signed_keyword_not_used 0 -#else -set signed_keyword_not_used 1 -#endif diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index 66fb32b..4e4eeee 100644 --- a/gdb/testsuite/lib/compiler.cc +++ b/gdb/testsuite/lib/compiler.cc @@ -16,8 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - Please email any bugs, comments, and/or additions to this file to: - bug-gdb@prep.ai.mit.edu */ + */ /* This file is exactly like compiler.c. I could just use compiler.c if I could be sure that every C++ compiler accepted extensions of ".c". */ @@ -53,10 +52,3 @@ set compiler_info [join {hpcc __HP_cc} -] #if defined (__HP_aCC) set compiler_info [join {hpacc __HP_aCC} -] #endif - -/* gdb.base/whatis.exp still uses this */ -#if defined (__STDC__) || defined (_AIX) -set signed_keyword_not_used 0 -#else -set signed_keyword_not_used 1 -#endif diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 942e135..6495059 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -16,9 +16,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# Please email any bugs, comments, and/or additions to this file to: -# bug-gdb@prep.ai.mit.edu - # This file was written by Fred Fish. (fnf@cygnus.com) # Generic gdb subroutines that should work for any target. If these @@ -1140,7 +1137,6 @@ set compiler_info "unknown" set gcc_compiled 0 set hp_cc_compiler 0 set hp_aCC_compiler 0 -set signed_keyword_not_used 0 # Figure out what compiler I am using. # @@ -1206,7 +1202,6 @@ proc get_compiler_info {binfile args} { # These come from compiler.c or compiler.cc global compiler_info - global signed_keyword_not_used # Legacy global data symbols. global gcc_compiled @@ -1246,7 +1241,6 @@ proc get_compiler_info {binfile args} { # Reset to unknown compiler if any diagnostics happened. if { $unknown } { set compiler_info "unknown" - set signed_keyword_not_used 0 } # Set the legacy symbols. |