gdb/testsuite:
authorYao Qi <yao@codesourcery.com>
Thu, 25 Oct 2012 14:56:09 +0000 (14:56 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 25 Oct 2012 14:56:09 +0000 (14:56 +0000)
* gdb.trace/ftrace.exp (test_fast_tracepoints): Use
'setup_kfail' instead of 'setup_kfail_for_target'.
* gdb.base/varargs.exp: Likewise.
* lib/gdb.exp (setup_kfail_for_target): Remove.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/varargs.exp
gdb/testsuite/gdb.trace/ftrace.exp
gdb/testsuite/lib/gdb.exp

index 473bf76a5423026d567a48440e197cd8c805c790..b35c3362f846a0abf86f010ff2d51fd77bb99351 100644 (file)
@@ -1,3 +1,10 @@
+2012-10-25  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
+       'setup_kfail' instead of 'setup_kfail_for_target'.
+       * gdb.base/varargs.exp: Likewise.
+       * lib/gdb.exp (setup_kfail_for_target): Remove.
+
 2012-10-25  Mark Kettenis  <kettenis@openbsd.nfra.nl>
 
        * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
index fdeb3f92ec9c9f34fadeca965735a8b3484362ac..bb9eb2a550b0e6bb80b555c1412a645fd95f86a5 100644 (file)
@@ -116,15 +116,15 @@ if [support_complex_tests] {
     global gdb_prompt
 
     set test "print find_max_float_real(4, fc1, fc2, fc3, fc4)"
-    setup_kfail_for_target gdb/12791 "arm*-*-*"
+    setup_kfail gdb/12791 "arm*-*-*"
     gdb_test $test ".*= 4 \\+ 4 \\* I" $test
 
     set test "print find_max_double_real(4, dc1, dc2, dc3, dc4)"
-    setup_kfail_for_target gdb/12791 "arm*-*-*"
+    setup_kfail gdb/12791 "arm*-*-*"
     gdb_test $test ".*= 4 \\+ 4 \\* I" $test
 
     set test "print find_max_long_double_real(4, ldc1, ldc2, ldc3, ldc4)"
-    setup_kfail_for_target gdb/12791 "arm*-*-*"
+    setup_kfail gdb/12791 "arm*-*-*"
     gdb_test $test ".*= 4 \\+ 4 \\* I" $test
 
 }
index 56cd2fac27a1912fb1150c6d4d5a18ba07f57d2e..2a3dbae987e296e85b2957f984af0892b0afb920 100644 (file)
@@ -132,13 +132,13 @@ proc test_fast_tracepoints {} {
        gdb_test "tfind pc *set_point" "Found trace frame .*" \
            "tfind set_point frame, first time"
 
-       setup_kfail_for_target "gdb/13808" "x86_64-*-linux*"
+       setup_kfail "gdb/13808" "x86_64-*-linux*"
        gdb_test "print globvar" " = 1"
 
        gdb_test "tfind pc *set_point" "Found trace frame .*" \
            "tfind set_point frame, second time"
 
-       setup_kfail_for_target "gdb/13808" "x86_64-*-linux*"
+       setup_kfail "gdb/13808" "x86_64-*-linux*"
        gdb_test "print anarg" " = 200"
 
        gdb_test "tfind start" "Found trace frame .*" \
index f27d4a7d86b0f38f5f7cc0267f721383c7fa24cd..a972045090905c54b95b1a02b8bea1ca6315f528 100644 (file)
@@ -3434,14 +3434,6 @@ proc setup_xfail_format { format } {
     return $ret;
 }
 
-# Like setup_kfail, but only call setup_kfail conditionally if
-# istarget[TARGET] returns true.
-proc setup_kfail_for_target { PR target } {
-    if { [istarget $target] } {
-       setup_kfail $PR $target
-    }
-}
-
 # gdb_get_line_number TEXT [FILE]
 #
 # Search the source file FILE, and return the line number of the