Generalize breakpoint pattern in gdb.mi/mi-cli.exp.
2015-09-18 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint filename pattern.
This commit is contained in:
parent
3f469b177d
commit
f57929f229
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
|
||||
filename pattern.
|
||||
|
||||
2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
|
||||
|
|
|
@ -184,7 +184,7 @@ mi_send_resuming_command "exec-continue" "-exec-continue to line \$line_main_hel
|
|||
|
||||
set output [mi_gdb_expect_cli_output "\\*stopped" "collect CLI output for breakpoint hit"]
|
||||
set test "breakpoint hit produces CLI output"
|
||||
set pattern "\\\\nTemporary breakpoint 3, main \\(\\) at \[^\n\]+basics.c:$line_main_hello\\\\n\[^\n\]+Hello"
|
||||
set pattern "\\\\nTemporary breakpoint 3, main \\(\\) at \[^\n\]*basics.c:$line_main_hello\\\\n\[^\n\]+Hello"
|
||||
|
||||
if {[regexp $pattern $output]} {
|
||||
pass $test
|
||||
|
|
Loading…
Reference in a new issue