* gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
+2011-12-11 Yao Qi <yao@codesourcery.com>
+
+ * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
+
2011-12-11 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
return -1
}
+if ![runto_main] {
+ fail "Can't run to main to check for trace support"
+ return -1
+}
+
+if ![gdb_target_supports_trace] {
+ unsupported "target does not support trace"
+ return -1;
+}
+
# Verify that the sequence of commands "tstart tstop tstart" works well.
proc test_tstart_tstop_tstart { } {