From patchwork Mon May 23 18:31:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francis Ricci X-Patchwork-Id: 12478 Received: (qmail 22244 invoked by alias); 23 May 2016 18:31:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 22220 invoked by uid 89); 23 May 2016 18:31:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=francis, Francis, runner, sk:francis X-HELO: mail-io0-f177.google.com Received: from mail-io0-f177.google.com (HELO mail-io0-f177.google.com) (209.85.223.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 23 May 2016 18:31:36 +0000 Received: by mail-io0-f177.google.com with SMTP id t40so106821438ioi.0 for ; Mon, 23 May 2016 11:31:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=2qUSv2l056k9PJYnBoNCCZ/YASFN+ymBM2dusyDD4hw=; b=nBtcpbdU/30MdCZ7p7ARjqyNp5ad9FgRHRhoRNvSRLczGyiVjbkroegl1V4BrWMGdt He0tk+mXZx2ToZbgOhzswXTiUTJ7GrZmjmxNH2k5Xddwti2v2XqqfcZ4/Mrgv/eRzVmi Uh6NJmjnVJLiiCDSIPUPDIZyf51TyxA/BPjlAPb28gDtZhCgWHjENvco2l1N+0abkDls l46VGhlGSFi6i7Xl0gNEUdl7vC0uCMYFgrZvj5Mq921byk5lXdXLyH1RjB31M4WDT2r5 3B1dVVIEN1K/XHhZ6a1WM21ZdY5WvwiMZSABVjwIgmqvBFb7cH1F36iSF+QDDpYCHQgu JonA== X-Gm-Message-State: ALyK8tJ1XtUS/mD1F1HwSRLpl8zxNFFrlfeGUbUbn5Df6dEGFemcu1HCsS/jlO4rDkDRXdq7Vu4HH/6Xn+DYDA== MIME-Version: 1.0 X-Received: by 10.107.51.3 with SMTP id z3mr3457800ioz.148.1464028294520; Mon, 23 May 2016 11:31:34 -0700 (PDT) Received: by 10.79.73.2 with HTTP; Mon, 23 May 2016 11:31:34 -0700 (PDT) Date: Mon, 23 May 2016 14:31:34 -0400 Message-ID: Subject: [PATCH] Fix syntax error in annota-input-while-running.exp From: Francis Ricci To: gdb-patches@sourceware.org Cc: sas@fb.com, fjricci@fb.com This patch fixes a syntax error which caused a failure in annota-input-while-running.exp to crash the test suite runner. This is my first gdb contribution, so I have not signed a copyright assignment form. However, from reading gdb/CONTRIBUTE, it looks like this is not necessary for small changes. 2016-05-22 Francis Ricci * gdb.base/annota-input-while-running.exp: Fix syntax error. 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