diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-05-21 15:00:32 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-05-21 15:00:32 +0000 |
commit | 44e9736318429d5b2adb158299dac4d983096104 (patch) | |
tree | ef54a2c4b895f71e5c905d1820b2f39dd55d7ea5 | |
parent | 3641da115a352b1bd2da45677547be905eca59e2 (diff) | |
download | gdb-44e9736318429d5b2adb158299dac4d983096104.zip gdb-44e9736318429d5b2adb158299dac4d983096104.tar.gz gdb-44e9736318429d5b2adb158299dac4d983096104.tar.bz2 |
gdb/testsuite/
PR testsuite/12649
* gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
racy matches.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-dprintf.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b2e7808..b066d01 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> + + PR testsuite/12649 + * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for + racy matches. + 2013-05-21 Christian Groessler <chris@groessler.org> * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion, diff --git a/gdb/testsuite/gdb.mi/mi-dprintf.exp b/gdb/testsuite/gdb.mi/mi-dprintf.exp index 457f332..ea8b3a8 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf.exp @@ -68,7 +68,7 @@ proc mi_continue_dprintf {args} { mi_run_cmd set msg "mi 1st dprintf" gdb_expect { - -re ".*At foo entry.*arg=1234, g=1234.*" { + -re ".*At foo entry.*arg=1234, g=1234" { pass $msg } -re ".*$mi_gdb_prompt$" { @@ -83,7 +83,7 @@ proc mi_continue_dprintf {args} { set msg "mi 2nd dprintf" mi_send_resuming_command "exec-continue" "$msg continue" gdb_expect { - -re ".*At foo entry.*arg=1235, g=2222.*" { + -re ".*At foo entry.*arg=1235, g=2222.*$mi_gdb_prompt$" { pass $msg } -re ".*$mi_gdb_prompt$" { |