aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-10-23 15:49:11 +0000
committerYao Qi <yao@codesourcery.com>2012-10-23 15:49:11 +0000
commit545f743d640c6bd74e496ec9c522beb833e34102 (patch)
treed1b1542ad8e774e59c203244465819cb3dabf208 /gdb
parent38a69d0a4d05b7fb52902a3c9bd2360d7191af3b (diff)
downloadgdb-545f743d640c6bd74e496ec9c522beb833e34102.zip
gdb-545f743d640c6bd74e496ec9c522beb833e34102.tar.gz
gdb-545f743d640c6bd74e496ec9c522beb833e34102.tar.bz2
gdb/testsuite:
* gdb.base/info-os.exp: Resume the inferior until it exits.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/info-os.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 58fe961..629c3f8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-23 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/info-os.exp: Resume the inferior until it exits.
+
2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
* gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
diff --git a/gdb/testsuite/gdb.base/info-os.exp b/gdb/testsuite/gdb.base/info-os.exp
index 541f03b..45f3103 100644
--- a/gdb/testsuite/gdb.base/info-os.exp
+++ b/gdb/testsuite/gdb.base/info-os.exp
@@ -176,4 +176,4 @@ expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
# The SysV IPC primitives linger on after the creating process is killed
# unless they are destroyed explicitly, so allow the test program to tidy
# up after itself.
-send_gdb "continue\n"
+gdb_test "continue" "exited.*"