* gdb.trace/actions.exp: Use gdb_test_no_output.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.
2010-06-02 Michael Snyder <msnyder@vmware.com>
+ * gdb.trace/actions.exp: Use gdb_test_no_output.
+ * gdb.trace/circ.exp: Ditto.
+ * gdb.trace/packetlen.exp: Ditto.
+ * gdb.trace/save-trace.exp: Ditto.
+ * gdb.trace/tracecmd.exp: Ditto.
+ * gdb.trace/tsv.exp: Ditto.
+
* gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
* gdb.threads/hand-call-in-thraeds.exp: Ditto.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
# 5.9 default-collect
-gdb_test "set default-collect gdb_char_test, gdb_long_test - 100" \
- "" \
+gdb_test_no_output "set default-collect gdb_char_test, gdb_long_test - 100" \
"5.9a: set default-collect"
gdb_test "show default-collect" \
"The list of expressions to collect by default is \"gdb_char_test, gdb_long_test - 100\"..*" \
"5.9b: show default-collect"
-gdb_test "set default-collect" \
- "" \
+gdb_test_no_output "set default-collect" \
"5.9c: set default-collect"
# 5.10 teval
gdb_step_for_stub;
}
-gdb_test "set circular-trace-buffer on" "" "set circular-trace-buffer on"
+gdb_test_no_output "set circular-trace-buffer on" \
+ "set circular-trace-buffer on"
gdb_test "show circular-trace-buffer" "Target's use of circular trace buffer is on." "show circular-trace-buffer (on)"
-gdb_test "set circular-trace-buffer off" "" "set circular-trace-buffer off"
+gdb_test_no_output "set circular-trace-buffer off" \
+ "set circular-trace-buffer off"
gdb_test "show circular-trace-buffer" "Target's use of circular trace buffer is off." "show circular-trace-buffer (off)"
"collect gdb_structp_test, gdb_structpp_test, gdb_union1_test" "^$" \
"end" ""
-gdb_test "tstart" "" "survive the long packet send"
+gdb_test_no_output "tstart" "survive the long packet send"
gdb_test "break end" "" ""
gdb_test "continue" \
"Continuing.*Breakpoint $decimal, end.*" \
"run trace experiment"
-gdb_test "tstop" "" "confirm: survived the long packet send"
+gdb_test_no_output "tstop" "confirm: survived the long packet send"
"Setting tracepoint $trcpt.* to $x" \
"10.x: set passcount for tracepoint $trcpt"
- gdb_test "condition $trcpt $x - 1 == $x / 2" \
- "" \
+ gdb_test_no_output "condition $trcpt $x - 1 == $x / 2" \
"10.x: set condition for tracepoint $trcpt"
gdb_trace_setactions "10.x: set actions for tracepoint $x" \
"end" "^$"
}
-gdb_test "set default-collect gdb_char_test, gdb_long_test - 100" \
- "" \
+gdb_test_no_output "set default-collect gdb_char_test, gdb_long_test - 100" \
"10: set default-collect"
proc gdb_verify_tracepoints { testname } {
# 10.2 Read back tracepoint definitions
gdb_delete_tracepoints
-gdb_test "set default-collect" "" "10.2: clear default-collect"
+gdb_test_no_output "set default-collect" "10.2: clear default-collect"
gdb_test "info tracepoints" "No tracepoints." "10.2: delete tracepoints"
gdb_test "source savetrace.tr" \
"Tracepoint \[0-9\]+ at .*" \
"10.3: save tracepoint definitions, full path"
gdb_delete_tracepoints
-gdb_test "set default-collect" "" "10.3: clear default-collect"
+gdb_test_no_output "set default-collect" "10.3: clear default-collect"
gdb_test "info tracepoints" "No tracepoints." "10.3: delete tracepoints"
gdb_test "source $objdir/savetrace.tr" \
"Tracepoint \[0-9\]+ at .*" \
# 1.3 trace line in invalid source file
gdb_delete_tracepoints
-gdb_test "set breakpoint pending off" ""
+gdb_test_no_output "set breakpoint pending off"
gdb_test "trace NoSuChFiLe.c:1" "No source file named NoSuChFiLe.c." \
"1.3a: trace invalid source file"
gdb_test "info trace" "No tracepoints.*" \
\\\$tvar3\[\t \]+1234567000000\[\t \]+.*<undefined>.*" \
"List tvariables"
-gdb_test "delete tvariable \$tvar2" \
- "" \
+gdb_test_no_output "delete tvariable \$tvar2" \
"delete trace state variable"
gdb_test "info tvariables" \