aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-05-21 15:00:32 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-05-21 15:00:32 +0000
commit44e9736318429d5b2adb158299dac4d983096104 (patch)
treeef54a2c4b895f71e5c905d1820b2f39dd55d7ea5 /gdb/testsuite/gdb.mi
parent3641da115a352b1bd2da45677547be905eca59e2 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-dprintf.exp4
1 files changed, 2 insertions, 2 deletions
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$" {