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.
This commit is contained in:
Michael Chastain 2004-08-23 13:43:15 +00:00
parent d782e0bfb0
commit fffc87aef7
4 changed files with 9 additions and 25 deletions

View file

@ -1,3 +1,9 @@
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".

View file

@ -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

View file

@ -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

View file

@ -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.