From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26187 invoked by alias); 7 Jun 2010 22:51:16 -0000 Received: (qmail 26173 invoked by uid 22791); 7 Jun 2010 22:51:15 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jun 2010 22:51:10 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o57Mp95M027373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Jun 2010 18:51:09 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o57Mp4eV001294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 Jun 2010 18:51:06 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o57Mp306009016; Tue, 8 Jun 2010 00:51:03 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o57Mp3RY009015; Tue, 8 Jun 2010 00:51:03 +0200 Date: Mon, 07 Jun 2010 22:51:00 -0000 From: Jan Kratochvil To: Michael Snyder Cc: "gdb-patches@sourceware.org" Subject: Re: [patch] gdb.base/pending.exp replace gdb_test_multi Message-ID: <20100607225102.GA8046@host0.dyn.jankratochvil.net> References: <4C097B4A.8080005@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C097B4A.8080005@vmware.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes 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 X-SW-Source: 2010-06/txt/msg00192.txt.bz2 On Sat, 05 Jun 2010 00:16:42 +0200, Michael Snyder wrote: > This is a simplification. > -gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" { > - -re ".*Make breakpoint pending.*y or \\\[n\\\]. $" { > - gdb_test "n" "" "Don't set pending breakpoint" > - } > -} > +gdb_test "break pendfunc2" \ > + "" \ > + "Don't set pending breakpoint" \ > + ".*Make breakpoint pending.*y or \\\[n\\\]. $" \ > + "n" With ".*" vs. gdb_test_no_output distinguishing now should be ".*" here instead? (Maybe a more specific string would be also appropriate.) Thanks, Jan