Remove stale -DNO_PROTOTYPES bits from gdb testsuite
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / varargs.exp
index 074691dbb7a8f172324e0358ef9dd84c63a975d1..40dcd087a6fa62709f4939ea854a481183ad3257 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1997-2017 Free Software Foundation, Inc.
+# Copyright 1997-2020 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
@@ -29,8 +29,6 @@
 
 
 
-set prototypes 0
-
 standard_testfile .c
 
 if [get_compiler_info] {
@@ -81,8 +79,7 @@ gdb_test_stdio "print find_max1(1,3)" \
 
 gdb_test_stdio "print find_max1(10,1,2,3,4,5,6,7,8,29,0)" \
     "find_max\\(10, 1, 2, 3, 4, 5, 6, 7, 8, 29, 0\\) returns 29\[ \r\n\]+" \
-    ".\[0-9\]+ = 29" \
-    "print find_max1(10,1,2,3,4,5,6,7,8,29,0)"
+    ".\[0-9\]+ = 29"
 
 gdb_test_stdio "print find_max2(3,1,2,3)" \
     "find_max\\(3, 1, 2, 3\\) returns 3\[ \r\n\]+" \
@@ -102,12 +99,12 @@ if [support_complex_tests] {
     global gdb_prompt
 
     set test "print find_max_float_real(4, fc1, fc2, fc3, fc4)"
-    gdb_test $test ".*= 4 \\+ 4 \\* I" $test
+    gdb_test $test ".*= 4 \\+ 4i"
 
     set test "print find_max_double_real(4, dc1, dc2, dc3, dc4)"
-    gdb_test $test ".*= 4 \\+ 4 \\* I" $test
+    gdb_test $test ".*= 4 \\+ 4i"
 
     set test "print find_max_long_double_real(4, ldc1, ldc2, ldc3, ldc4)"
-    gdb_test $test ".*= 4 \\+ 4 \\* I" $test
+    gdb_test $test ".*= 4 \\+ 4i"
 
 }
This page took 0.030094 seconds and 4 git commands to generate.