aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2016-05-24 12:07:00 +0100
committerYao Qi <yao.qi@linaro.org>2016-05-24 12:11:38 +0100
commite70a7231e6347212258d43d2a46a20f7f7584386 (patch)
tree9570bffd21036e2ae44ceb9ba300cca5ef947c41
parent00a3cb9c7c69cf65fdce73079a445cb379ae7842 (diff)
downloadgdb-e70a7231e6347212258d43d2a46a20f7f7584386.zip
gdb-e70a7231e6347212258d43d2a46a20f7f7584386.tar.gz
gdb-e70a7231e6347212258d43d2a46a20f7f7584386.tar.bz2
Fix syntax error in annota-input-while-running.exp
This patch fixes a syntax error which caused a failure in annota-input-while-running.exp to crash the test suite runner. 2016-05-24 Francis Ricci <francisjricci@gmail.com> * gdb.base/annota-input-while-running.exp: Fix syntax error.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/annota-input-while-running.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1f0e3f9..c50edad 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
+
+ * gdb.base/annota-input-while-running.exp: Fix syntax error.
+
2016-05-23 Tom Tromey <tom@tromey.com>
PR python/19438, PR python/18393:
diff --git a/gdb/testsuite/gdb.base/annota-input-while-running.exp b/gdb/testsuite/gdb.base/annota-input-while-running.exp
index adc96e4..fc2e608 100644
--- a/gdb/testsuite/gdb.base/annota-input-while-running.exp
+++ b/gdb/testsuite/gdb.base/annota-input-while-running.exp
@@ -25,8 +25,8 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug] == -1} {
# Because runto_main doesn't know how to handle the prompt with annotations,
# run to main before we set the annotation level.
if ![runto_main] then {
-- fail "Can't run to main"
-- return 1
+ fail "Can't run to main"
+ return 1
}
# NOTE: this prompt is OK only when the annotation level is > 1