]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp
Update years in copyright notice for the GDB files.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.hp / gdb.base-hp / callfwmall.exp
index 586cabb7cdf091cef65bcc578f03552f267bf8d4..2279b6c2afd4f5e0824263465780a74468fe611c 100644 (file)
@@ -1,21 +1,17 @@
-# Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright 1997-2013 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
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# 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
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 # This file was written by Fred Fish. (fnf@cygnus.com)
 
 # inferior function calls to evaluate array literals.  But many people
 # jump to other, incorrect conclusions about this.
 
-if $tracelevel then {
-       strace $tracelevel
-}
-
-set prms_id 0
-set bug_id 0
 
 if { [skip_hp_tests] } then { continue }
 
@@ -99,13 +89,14 @@ set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+     untested callfwmall.exp
+     return -1
 }
 
 # Create and source the file that provides information about the compiler
 # used to compile the test case.
 
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
     return -1;
 }
 
@@ -256,14 +247,12 @@ proc do_function_calls {} {
     # to avoid such problems in the common case.  This may or may not help
     # the RS6000.
     setup_xfail "rs6000*-*-*"
-    setup_xfail "powerpc*-*-*"
 
     if {![istarget hppa*-*-hpux*]} then {
        gdb_test "p t_func_values(add,func_val2)" " = 1"
     }
 
     setup_xfail "rs6000*-*-*"
-    setup_xfail "powerpc*-*-*"
 
     if {![istarget hppa*-*-hpux*]} then {
        gdb_test "p t_func_values(func_val1,doubleit)" " = 1"
@@ -272,7 +261,6 @@ proc do_function_calls {} {
     gdb_test "p t_call_add(func_val1,3,4)" " = 7"
 
     setup_xfail "rs6000*-*-*"
-    setup_xfail "powerpc*-*-*"
 
     if {![istarget hppa*-*-hpux*]} then {
        gdb_test "p t_call_add(add,3,4)" " = 7"