From: Francis Ricci Date: Tue, 24 May 2016 11:07:00 +0000 (+0100) Subject: Fix syntax error in annota-input-while-running.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e70a7231e6347212258d43d2a46a20f7f7584386;p=binutils-gdb.git 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 * gdb.base/annota-input-while-running.exp: Fix syntax error. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1f0e3f99f59..c50edad5171 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-05-24 Francis Ricci (tiny patch) + + * gdb.base/annota-input-while-running.exp: Fix syntax error. + 2016-05-23 Tom Tromey 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 adc96e4cefc..fc2e6087a68 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