* gdb.trace/collection.exp (run_trace_experiment): Make sure
"tstart" is silent.
This commit is contained in:
parent
0e780da906
commit
a8121990c1
2 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-03-29 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* gdb.trace/collection.exp (run_trace_experiment): Make sure
|
||||
"tstart" is silent.
|
||||
|
||||
2010-03-29 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* gdb.trace/collection.exp (executable): New.
|
||||
|
|
|
@ -93,13 +93,19 @@ proc prepare_for_trace_test {} {
|
|||
}
|
||||
|
||||
proc run_trace_experiment { msg test_func } {
|
||||
global gdb_prompt
|
||||
|
||||
gdb_test "continue" \
|
||||
".*Breakpoint \[0-9\]+, begin .*" \
|
||||
"collect $msg: advance to begin"
|
||||
|
||||
gdb_test "tstart" \
|
||||
"\[\r\n\]+" \
|
||||
"collect $msg: start trace experiment"
|
||||
set test "collect $msg: start trace experiment"
|
||||
gdb_test_multiple "tstart" "$test" {
|
||||
-re "^tstart\r\n$gdb_prompt $" {
|
||||
pass "$test"
|
||||
}
|
||||
}
|
||||
|
||||
gdb_test "continue" \
|
||||
"Continuing.*Breakpoint \[0-9\]+, end.*" \
|
||||
"collect $msg: run trace experiment"
|
||||
|
|
Loading…
Add table
Reference in a new issue