From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75211 invoked by alias); 17 May 2017 12:20:35 -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 74626 invoked by uid 89); 17 May 2017 12:20:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=thomaspreudhommefossarmcom, thomas.preudhomme@foss.arm.com, hits 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 12:20:33 +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 B8AF91516; Wed, 17 May 2017 05:20:34 -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 3F1643F3E1; Wed, 17 May 2017 05:20:34 -0700 (PDT) Subject: Re: [PATCH, GDB/ARM] Expect prompt after no FPU warning To: Yao Qi References: <861srnadl8.fsf@gmail.com> Cc: gdb-patches@sourceware.org From: Thomas Preudhomme Message-ID: Date: Wed, 17 May 2017 12:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <861srnadl8.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00383.txt.bz2 On 17/05/17 13:10, Yao Qi wrote: > Thomas Preudhomme writes: > >> 2017-04-27 Thomas Preud'homme >> >> * gdb.base/float.exp (info float): Expect GDB prompt for ARM > > Remove " (info float)". > >> targets without FPU. >> > > >> @@ -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 $" { > > The fix is right but it can be applied to all archs which may not have > FPU. If you search "N floating.point info", you can find multiple hits. > $gdb_prompt is needed for all of them. Err yes sorry, I didn't add it because I only tested on ARM. I'll update the patch. Thanks! Best regards, Thomas