From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55280 invoked by alias); 17 May 2017 09:13:18 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 54644 invoked by uid 89); 17 May 2017 09:13:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=preudhomme, Preudhomme, U*thomas.preudhomme X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 May 2017 09:13:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2D2C82B for ; Wed, 17 May 2017 02:13:18 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CD4393F575 for ; Wed, 17 May 2017 02:13:17 -0700 (PDT) To: gdb-patches@sourceware.org From: Thomas Preudhomme Subject: [PATCH, GDB/ARM] Expect prompt after no FPU warning Message-ID: Date: Wed, 17 May 2017 09:13:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------C431704CBB257849BCF7D6B1" X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00377.txt.bz2 This is a multi-part message in MIME format. --------------C431704CBB257849BCF7D6B1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 678 Hi, The expected output for info float when the ARM target has no FPU does not include the GDB prompt. This occasionally cause a test failure in the following "finish" test when the prompt happens after the test has been marked as PASSed, since it does not match the expected output. This patch adds the GDB prompt to the expected output of the no FPU regular expression. ChangeLog entry is as follows: *** gdb/testsuite/ChangeLog *** 2017-04-27 Thomas Preud'homme * gdb.base/float.exp (info float): Expect GDB prompt for ARM targets without FPU. Testing: test PASSes with that patch. Is this ok for master branch? Best regards, Thomas --------------C431704CBB257849BCF7D6B1 Content-Type: text/x-patch; name="nofloat_gdb_tests_expect_prompt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="nofloat_gdb_tests_expect_prompt.patch" Content-length: 577 diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp index a4762c9742682391074f0707e56a6eae4cd70c6e..4f928c19491f55b235aaf68a4c9351531440aa4e 100644 --- a/gdb/testsuite/gdb.base/float.exp +++ b/gdb/testsuite/gdb.base/float.exp @@ -50,7 +50,7 @@ if { [is_aarch64_target] } then { # if we have NEON. pass "info float (VFP)" } - -re "No floating.point info available for this processor.*" { + -re "No floating.point info available for this processor.*$gdb_prompt $" { pass "info float (without FPU)" } } --------------C431704CBB257849BCF7D6B1--