gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Tue, 6 Mar 2012 01:30:18 +0000 (01:30 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 6 Mar 2012 01:30:18 +0000 (01:30 +0000)
* gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
x86_64-*-* and i?86-*-*.
Set up KFAIL for gdb/13808.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ftrace.exp

index c5fb7db19205ccd7a898f1f3f45543895b5d648d..6253d4a0d74f9f5fb894a548283821c9239d0157 100644 (file)
@@ -1,3 +1,9 @@
+2012-03-06  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
+       x86_64-*-* and i?86-*-*.
+       Set up KFAIL for gdb/13808.
+
 2012-03-05  Tom Tromey  <tromey@redhat.com>
 
        * gdb.ada/operator_bp.exp: Clear debug-file-directory.
index beeccb9f9a18982f6d64808eefd29ba80af8ee64..70a8f0ffb4e474e45eff8a469e7f18dc0523f950 100644 (file)
@@ -86,7 +86,7 @@ proc test_fast_tracepoints {} {
 
     gdb_test "print gdb_agent_gdb_trampoline_buffer_error" ".*" ""
 
-    if { [is_x86_like_target] } {
+    if { [istarget "x86_64-*-*"] || [istarget "i\[34567\]86-*-*"] } {
 
        gdb_test "ftrace set_point" "Fast tracepoint .*" \
            "fast tracepoint at a long insn"
@@ -134,11 +134,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*"
        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*"
        gdb_test "print anarg" " = 200"
 
        gdb_test "tfind start" "Found trace frame .*" \