From fffc87aef74eb2b9d17d7524e464368b1ac07b1b Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Mon, 23 Aug 2004 13:43:15 +0000 Subject: [PATCH] 2004-08-23 Michael Chastain * lib/gdb.exp: Remove signed_keyword_not_used. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/lib/compiler.c | 12 ++---------- gdb/testsuite/lib/compiler.cc | 10 +--------- gdb/testsuite/lib/gdb.exp | 6 ------ 4 files changed, 9 insertions(+), 25 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index af457995b1e..f54f1f852fb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-08-23 Michael Chastain + + * lib/gdb.exp: Remove signed_keyword_not_used. + * lib/compiler.c: Likewise. + * lib/compiler.cc: Likewise. + 2004-08-23 Michael Chastain * gdb.base/whatis.c: Remove conditional disabling of "signed". diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index da2fb0c0ac3..8ebccaf95c4 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 66fb32b9d35..4e4eeee1ba7 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 942e13599cb..6495059ba37 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. -- 2.30.2