mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* gdb.trace/collection.exp (run_trace_experiment): Make sure
"tstart" is silent.
This commit is contained in:
@ -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>
|
2010-03-29 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* gdb.trace/collection.exp (executable): New.
|
* gdb.trace/collection.exp (executable): New.
|
||||||
|
@ -93,13 +93,19 @@ proc prepare_for_trace_test {} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
proc run_trace_experiment { msg test_func } {
|
proc run_trace_experiment { msg test_func } {
|
||||||
|
global gdb_prompt
|
||||||
|
|
||||||
gdb_test "continue" \
|
gdb_test "continue" \
|
||||||
".*Breakpoint \[0-9\]+, begin .*" \
|
".*Breakpoint \[0-9\]+, begin .*" \
|
||||||
"collect $msg: advance to begin"
|
"collect $msg: advance to begin"
|
||||||
|
|
||||||
gdb_test "tstart" \
|
set test "collect $msg: start trace experiment"
|
||||||
"\[\r\n\]+" \
|
gdb_test_multiple "tstart" "$test" {
|
||||||
"collect $msg: start trace experiment"
|
-re "^tstart\r\n$gdb_prompt $" {
|
||||||
|
pass "$test"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
gdb_test "continue" \
|
gdb_test "continue" \
|
||||||
"Continuing.*Breakpoint \[0-9\]+, end.*" \
|
"Continuing.*Breakpoint \[0-9\]+, end.*" \
|
||||||
"collect $msg: run trace experiment"
|
"collect $msg: run trace experiment"
|
||||||
|
Reference in New Issue
Block a user