From abe49676e91dd6abeb219ee6a1e94b05094d7a9b Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 6 Mar 2012 01:30:18 +0000 Subject: gdb/testsuite/ * 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 | 6 ++++++ gdb/testsuite/gdb.trace/ftrace.exp | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c5fb7db..6253d4a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-03-06 Yao Qi + + * 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 * gdb.ada/operator_bp.exp: Clear debug-file-directory. diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp index beeccb9..70a8f0f 100644 --- a/gdb/testsuite/gdb.trace/ftrace.exp +++ b/gdb/testsuite/gdb.trace/ftrace.exp @@ -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 .*" \ -- cgit v1.1