From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11747 invoked by alias); 11 May 2006 17:34:47 -0000 Received: (qmail 11739 invoked by uid 22791); 11 May 2006 17:34:47 -0000 X-Spam-Check-By: sourceware.org Received: from e1.ny.us.ibm.com (HELO e1.ny.us.ibm.com) (32.97.182.141) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 17:34:45 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k4BHYhds004081 for ; Thu, 11 May 2006 13:34:43 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k4BHYhgL239442 for ; Thu, 11 May 2006 13:34:43 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k4BHYhwi007431 for ; Thu, 11 May 2006 13:34:43 -0400 Received: from dufur.beaverton.ibm.com (dufur.beaverton.ibm.com [9.47.22.20]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id k4BHYgZj006945; Thu, 11 May 2006 13:34:42 -0400 Subject: Re: [RFA] Handle output after 'Program exited normally' consistently From: PAUL GILLIAM Reply-To: pgilliam@us.ibm.com To: fnf@specifix.com Cc: gdb-patches@sourceware.org In-Reply-To: <200605110709.11444.fnf@specifix.com> References: <200605110709.11444.fnf@specifix.com> Content-Type: text/plain Date: Thu, 11 May 2006 17:34:00 -0000 Message-Id: <1147365044.3672.1.camel@dufur.beaverton.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00220.txt.bz2 On Thu, 2006-05-11 at 07:09 -0400, Fred Fish wrote: > There are 21 places in the current gdb testsuite where the testsuite checks > for 'Program exited normally' followed by a gdb prompt. All of them, with > the exception of a couple, use a test like: > > -re ".*Program exited normally.*$gdb_prompt $" { > If something is done the same way in 21 places, why not put it in lib/gdb.exp? -=# Paul #=-