diff options
author | Marek Polacek <mpolacek@sourceware.org> | 2011-06-23 09:45:24 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@sourceware.org> | 2011-06-23 09:45:24 +0000 |
commit | 5d197ed097c6d3c7021936126a81ae4311c5140a (patch) | |
tree | 36bb506ed6c1244758869db7ca7630899cc46823 /gdb/testsuite/gdb.mi | |
parent | b9132588e0c9409b9bf48fd76c72e6efeaa90d5a (diff) | |
download | gdb-5d197ed097c6d3c7021936126a81ae4311c5140a.zip gdb-5d197ed097c6d3c7021936126a81ae4311c5140a.tar.gz gdb-5d197ed097c6d3c7021936126a81ae4311c5140a.tar.bz2 |
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 f0826c4..c2940df 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 |