From patchwork Fri Dec 2 17:13:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Machado X-Patchwork-Id: 18140 Received: (qmail 32862 invoked by alias); 2 Dec 2016 17:13:52 -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 32801 invoked by uid 89); 2 Dec 2016 17:13:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:912 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Dec 2016 17:13:40 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1cCrP0-00036h-Jm from Luis_Gustavo@mentor.com for gdb-patches@sourceware.org; Fri, 02 Dec 2016 09:13:38 -0800 Received: from Opsys.world.mentorg.com (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.224.2; Fri, 2 Dec 2016 09:13:37 -0800 From: Luis Machado To: Subject: [PATCH] [obvious?] Revert change to gdb.cp/ovldbreak.exp Date: Fri, 2 Dec 2016 11:13:36 -0600 Message-ID: <1480698816-10237-1-git-send-email-lgustavo@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes This reverts the timeout handling (removed by 018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we decide what to do about this particular function. I take it it is obvious? gdb/testsuite/ChangeLog: 2016-12-02 Luis Machado * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore timeout handling. --- gdb/testsuite/gdb.cp/ovldbreak.exp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdb/testsuite/gdb.cp/ovldbreak.exp b/gdb/testsuite/gdb.cp/ovldbreak.exp index b6c5efd..2c1ff6c 100644 --- a/gdb/testsuite/gdb.cp/ovldbreak.exp +++ b/gdb/testsuite/gdb.cp/ovldbreak.exp @@ -58,6 +58,10 @@ proc take_gdb_out_of_choice_menu {} { gdb_test_multiple " " " " { -re ".*$gdb_prompt $" { } + timeout { + perror "could not resynchronize to command prompt (timeout)" + continue + } } }