diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-09-18 09:39:31 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-09-18 09:39:31 -0700 |
commit | f57929f229c97462650cef4086bb930290ba92af (patch) | |
tree | 8fd3892e306efb9977a88c5cd7e11f2b9db0905d /gdb/testsuite/gdb.mi | |
parent | 3f469b177da53a0e63d3fe3cfb4fac91e921de3d (diff) | |
download | fsf-binutils-gdb-f57929f229c97462650cef4086bb930290ba92af.zip fsf-binutils-gdb-f57929f229c97462650cef4086bb930290ba92af.tar.gz fsf-binutils-gdb-f57929f229c97462650cef4086bb930290ba92af.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-cli.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-cli.exp b/gdb/testsuite/gdb.mi/mi-cli.exp index 5f75bef..aad9880 100644 --- a/gdb/testsuite/gdb.mi/mi-cli.exp +++ b/gdb/testsuite/gdb.mi/mi-cli.exp @@ -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 |