aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi2-cli.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-06-13 19:53:42 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-06-13 19:53:42 +0000
commit6ae37fefeb44d97562e8ca67413e418893653a9b (patch)
treec09850f8cf9b9f45f6a2266e2d83e1a3d33aca7e /gdb/testsuite/gdb.mi/mi2-cli.exp
parentce3ac18a8c86858c9118a6115e05d1052f9abc50 (diff)
downloadgdb-6ae37fefeb44d97562e8ca67413e418893653a9b.zip
gdb-6ae37fefeb44d97562e8ca67413e418893653a9b.tar.gz
gdb-6ae37fefeb44d97562e8ca67413e418893653a9b.tar.bz2
Robustify mi-simplerun.
* gdb.mi/basics.c (main): Add a call to sleep. * gdb.mi/mi-cli.exp: Adjust for change in line numbers. * gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi-break.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-cli.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi2-cli.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-cli.exp b/gdb/testsuite/gdb.mi/mi2-cli.exp
index d9e3467..0f5a771 100644
--- a/gdb/testsuite/gdb.mi/mi2-cli.exp
+++ b/gdb/testsuite/gdb.mi/mi2-cli.exp
@@ -96,7 +96,7 @@ mi_gdb_test "-interpreter-exec console \"list\"" \
".*\~\"$line_main_body\[\\\\t \]*callee1.*;\\\\n\".*\\^done" \
"-interpreter-exec console \"list\""
-mi_execute_to "exec-continue" "breakpoint-hit" "callee4" "" ".*basics.c" "27" \
+mi_execute_to "exec-continue" "breakpoint-hit" "callee4" "" ".*basics.c" "28" \
{ "" "disp=\"keep\"" } \
"continue to callee4"