| Index: gdb/testsuite/gdb.trace/ftrace.exp
|
| diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp
|
| index beeccb9f9a18982f6d64808eefd29ba80af8ee64..56cd2fac27a1912fb1150c6d4d5a18ba07f57d2e 100644
|
| --- a/gdb/testsuite/gdb.trace/ftrace.exp
|
| +++ b/gdb/testsuite/gdb.trace/ftrace.exp
|
| @@ -14,10 +14,8 @@
|
|
|
| load_lib "trace-support.exp";
|
|
|
| -set testfile "ftrace"
|
| +standard_testfile
|
| set executable $testfile
|
| -set srcfile $testfile.c
|
| -set binfile $objdir/$subdir/$testfile
|
| set expfile $testfile.exp
|
|
|
| # Some targets have leading underscores on assembly symbols.
|
| @@ -39,7 +37,7 @@ if ![gdb_target_supports_trace] {
|
| return -1
|
| }
|
|
|
| -set libipa $objdir/../gdbserver/libinproctrace.so
|
| +set libipa [get_in_proc_agent]
|
| gdb_load_shlibs $libipa
|
|
|
| # Can't use prepare_for_testing, because that splits compiling into
|
| @@ -86,7 +84,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 +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*"
|
| 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 .*" \
|
| @@ -164,7 +164,7 @@ proc test_fast_tracepoints {} {
|
|
|
| gdb_reinitialize_dir $srcdir/$subdir
|
|
|
| -if { [gdb_test "info sharedlibrary" ".*libinproctrace\.so.*" "IPA loaded"] != 0 } {
|
| +if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } {
|
| untested "Could not find IPA lib loaded"
|
| return 1
|
| }
|
|
|