mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
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:
@ -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>
|
2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
|
||||||
* gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
|
* 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 output [mi_gdb_expect_cli_output "\\*stopped" "collect CLI output for breakpoint hit"]
|
||||||
set test "breakpoint hit produces CLI output"
|
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]} {
|
if {[regexp $pattern $output]} {
|
||||||
pass $test
|
pass $test
|
||||||
|
Reference in New Issue
Block a user