|
|
|
@ -1,5 +1,5 @@ |
|
|
|
# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1999, 2002, 2003 |
|
|
|
# Free Software Foundation, Inc. |
|
|
|
# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1999, 2002, |
|
|
|
# 2003, 2004 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
@ -15,9 +15,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 Rob Savoye. (rob@cygnus.com) |
|
|
|
|
|
|
|
if $tracelevel { |
|
|
|
@ -75,19 +72,9 @@ gdb_test "whatis v_char" \ |
|
|
|
"type = (unsigned char|char)" \ |
|
|
|
"whatis char" |
|
|
|
|
|
|
|
# If we did not use the signed keyword when compiling the file, don't |
|
|
|
# expect GDB to know that char is signed. |
|
|
|
if { $hp_cc_compiler || $hp_aCC_compiler } { |
|
|
|
set signed_keyword_not_used 1 |
|
|
|
} |
|
|
|
if $signed_keyword_not_used then { |
|
|
|
set signed_char "char" |
|
|
|
} else { |
|
|
|
set signed_char "signed char" |
|
|
|
} |
|
|
|
if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix*" } |
|
|
|
gdb_test "whatis v_signed_char" \ |
|
|
|
"type = $signed_char" \ |
|
|
|
"type = (signed char|char)" \ |
|
|
|
"whatis signed char" |
|
|
|
|
|
|
|
gdb_test "whatis v_unsigned_char" \ |
|
|
|
|