From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26366 invoked by alias); 20 May 2010 21:13:53 -0000 Received: (qmail 26357 invoked by uid 22791); 20 May 2010 21:13:52 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 May 2010 21:13:46 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 474D92F00E; Thu, 20 May 2010 14:13:45 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 3D7D8CD903; Thu, 20 May 2010 14:13:45 -0700 (PDT) Message-ID: <4BF5A608.5010806@vmware.com> Date: Thu, 20 May 2010 21:14:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Joel Brobecker CC: "gdb-patches@sourceware.org" Subject: Re: [resubmit] gdb.base, r*.exp thru w*.exp References: <4BF59BBB.8020603@vmware.com> <20100520210718.GF3019@adacore.com> In-Reply-To: <20100520210718.GF3019@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-05/txt/msg00449.txt.bz2 Joel Brobecker wrote: > >> +gdb_test "break 999" "No line 999 in file .*" \ >> + pass "break on non-existent source line" > ^^^^ ??? Oops, thanks. >> +gdb_test_multiple "break $bp_location1" \ >> + "set to-be-silent break bp_location1" { >> + -re "Breakpoint (\[0-9\]*) at .*, line $bp_location1.*$gdb_prompt $" { >> + pass "set to-be-silent break bp_location1" >> + } > > How about using test_gdb in this case? No, the reason being that it doesn't set $expect_out, which is used in the following lines.