diff options
author | mpolacek <mpolacek> | 2011-06-23 09:45:24 +0000 |
---|---|---|
committer | mpolacek <mpolacek> | 2011-06-23 09:45:24 +0000 |
commit | 6fc569697af097174d69ceaf3b71ba9522795588 (patch) | |
tree | 73aefb2355558bc1d7d029ffd6a385c518b07b6e /gdb/testsuite/gdb.mi | |
parent | 5d7688ca82dde51046a57c0a4ac15ac0ff1bcbcb (diff) | |
download | gdb-6fc569697af097174d69ceaf3b71ba9522795588.tar.gz |
Fix races in mi2-return.exp.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-return.exp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-return.exp b/gdb/testsuite/gdb.mi/mi2-return.exp index f0826c4acfa..c2940dff997 100644 --- a/gdb/testsuite/gdb.mi/mi2-return.exp +++ b/gdb/testsuite/gdb.mi/mi2-return.exp @@ -53,11 +53,7 @@ proc test_return_simple {} { set line_callee3_call [expr $line_callee3_head + 2] set line_callee3_close_brace [expr $line_callee3_head + 3] - gdb_test_multiple "111-exec-return" "return from callee4 now" { - -re "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}\r\n$mi_gdb_prompt$" { - pass "return from callee4 now" - } - } + mi_gdb_test "111-exec-return" "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}" "return from callee4 now" } mi_runto callee4 |