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 | |
parent | 3f469b177da53a0e63d3fe3cfb4fac91e921de3d (diff) | |
download | gdb-f57929f229c97462650cef4086bb930290ba92af.zip gdb-f57929f229c97462650cef4086bb930290ba92af.tar.gz 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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-cli.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1535b46..e7a7d3a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 in breakpoint filename pattern. 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 |