From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3110 invoked by alias); 21 Dec 2015 12:27:58 -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 3093 invoked by uid 89); 21 Dec 2015 12:27:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 21 Dec 2015 12:27:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 074DA1164D1; Mon, 21 Dec 2015 07:27:55 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XUujwHOOmVei; Mon, 21 Dec 2015 07:27:54 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8C0A41164A6; Mon, 21 Dec 2015 07:27:54 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 7566E46BAD; Mon, 21 Dec 2015 16:27:50 +0400 (RET) Date: Mon, 21 Dec 2015 12:27:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: Sandra Loosemore , gdb-patches Subject: Re: [patch 3/3] add missing gdb_test arguments in paginate-bg-execution.exp Message-ID: <20151221122750.GB5564@adacore.com> References: <56745D29.504@codesourcery.com> <5674636B.6090507@codesourcery.com> <56746F26.1040903@redhat.com> <56749B6C.7000804@codesourcery.com> <5677E835.4090603@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5677E835.4090603@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-12/txt/msg00426.txt.bz2 > If it wasn't supposed to be correct, then it'd be good to add > an "error" call in gdb_test, to make it a hard error. > > But I think it is supposed to work. At least > > $ grep -rn "gdb_test " | grep -v "\".*\".*\"" | grep -v "\\\\" > > shows many (hundreds) of instances. With no explicit pattern, > we end up just matching the prompt, ignoring whatever output > precedes it. Yes, I confirm it is supposed to work, or at least it's been acknowledged to be that way for quite a while. The last time we discussed it is when we created gdb_test_no_output. -- Joel