diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/trace-mt.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/trace-mt.exp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/trace-mt.exp b/gdb/testsuite/gdb.trace/trace-mt.exp index 6e18666..dae85a9 100644 --- a/gdb/testsuite/gdb.trace/trace-mt.exp +++ b/gdb/testsuite/gdb.trace/trace-mt.exp @@ -21,9 +21,14 @@ set expfile $testfile.exp # Some targets have leading underscores on assembly symbols. set additional_flags [gdb_target_symbol_prefix_flags] +if ![gdb_trace_common_supports_arch] { + unsupported "no trace-common.h support for arch" + return -1 +} + if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug $additional_flags] ] != "" } { - untested "failed to compile" + # gdb_compile_pthreads provides an appropriate unsupported message. return -1 } @@ -106,6 +111,10 @@ foreach break_always_inserted { "on" "off" } { step_over_tracepoint "trace" +if {[skip_shlib_tests]} { + return 0 +} + set libipa [get_in_proc_agent] set remote_libipa [gdb_load_shlib $libipa] |