From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1419 invoked by alias); 22 Jan 2004 00:20:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1367 invoked from network); 22 Jan 2004 00:20:35 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 22 Jan 2004 00:20:35 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AjSaH-0006dn-Fv for ; Wed, 21 Jan 2004 19:20:33 -0500 Date: Thu, 22 Jan 2004 00:20:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA]: pending breakpoint support [2/3] Message-ID: <20040122002033.GB12047@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <400EE920.4050705@redhat.com> <20040121222044.GB3324@nevyn.them.org> <400F075D.7070904@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <400F075D.7070904@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00604.txt.bz2 On Wed, Jan 21, 2004 at 06:12:29PM -0500, J. Johnston wrote: > >>+ -re "Make breakpoint pending.*y or n. $" { > >>+ send_gdb "n\n"; > >>+ fail "setting breakpoint at $function" ; > >>+ return 0 > >>+ } > > > > > >[in lib/gdb.exp] ditto. > > > > Daniel, can you clarify this last comment. Is something wrong with the > prompt test in the -re line or do you want me to change the send_gdb to be > a gdb_test? The latter, sorry. The basic rule is, if a test causes GDB to print something out, the test must also eat the output. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer