aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-03-06 01:30:18 +0000
committerYao Qi <yao@codesourcery.com>2012-03-06 01:30:18 +0000
commitabe49676e91dd6abeb219ee6a1e94b05094d7a9b (patch)
tree588e2bb761b273c3aa30e3ee23f229fa2d0b4ad2
parent39aaa5247b00aa76bed0aa4332ef7e27c9ca40a0 (diff)
downloadgdb-abe49676e91dd6abeb219ee6a1e94b05094d7a9b.zip
gdb-abe49676e91dd6abeb219ee6a1e94b05094d7a9b.tar.gz
gdb-abe49676e91dd6abeb219ee6a1e94b05094d7a9b.tar.bz2
gdb/testsuite/
* gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target x86_64-*-* and i?86-*-*. Set up KFAIL for gdb/13808.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.trace/ftrace.exp4
2 files changed, 9 insertions, 1 deletions
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 <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.
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 .*" \