gdb/testsuite/
PR testsuite/12649 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt. Protect gdb_test_multiple by final $gdb_prompt match.
This commit is contained in:
parent
aa547df260
commit
61638e15c5
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
PR testsuite/12649
|
||||||
|
* gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
|
||||||
|
Protect gdb_test_multiple by final $gdb_prompt match.
|
||||||
|
|
||||||
2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
|
* gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
|
||||||
|
|
|
@ -76,6 +76,7 @@ proc run_trace_experiment {} {
|
||||||
}
|
}
|
||||||
|
|
||||||
proc test_fast_tracepoints {} {
|
proc test_fast_tracepoints {} {
|
||||||
|
global gdb_prompt
|
||||||
|
|
||||||
set fourgood 0
|
set fourgood 0
|
||||||
|
|
||||||
|
@ -111,10 +112,10 @@ proc test_fast_tracepoints {} {
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_test_multiple "ftrace four_byter" "set 4-byte fast tracepoint" {
|
gdb_test_multiple "ftrace four_byter" "set 4-byte fast tracepoint" {
|
||||||
-re "May not have a fast tracepoint at .*" {
|
-re "May not have a fast tracepoint at .*\r\n$gdb_prompt $" {
|
||||||
pass "4-byte fast tracepoint could not be set"
|
pass "4-byte fast tracepoint could not be set"
|
||||||
}
|
}
|
||||||
-re "Fast tracepoint .*" {
|
-re "Fast tracepoint .*\r\n$gdb_prompt $" {
|
||||||
pass "4-byte fast tracepoint is set"
|
pass "4-byte fast tracepoint is set"
|
||||||
set fourgood 1
|
set fourgood 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue