From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1416 invoked by alias); 24 Nov 2003 21:04:19 -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 1406 invoked from network); 24 Nov 2003 21:04:19 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 24 Nov 2003 21:04:19 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AONsZ-0004u0-1C for ; Mon, 24 Nov 2003 16:04:19 -0500 Date: Mon, 24 Nov 2003 21:04:00 -0000 From: Daniel Jacobowitz To: "gdb-patches@sources.redhat.com" Subject: Re: [RFA]: Test for PR/1236 Message-ID: <20031124210419.GA18827@nevyn.them.org> Mail-Followup-To: "gdb-patches@sources.redhat.com" References: <1069643885.20972.18.camel@localhost.localdomain> <3FC271F0.9000706@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC271F0.9000706@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00546.txt.bz2 On Mon, Nov 24, 2003 at 04:02:40PM -0500, Andrew Cagney wrote: > > >+# > >+# Break on multiply defined method (PR objc/1236) > >+# > >+set name "break on non-debuggable method" > >+send_gdb "break someMethod\n" > >+gdb_expect { > >+ -re "\\\[0\\\] cancel.*\\\[1\\\] all.*\\\[2\\\]\[ \]+-.NonDebug > >someMethod.*\\\[3\\\]\[ \]+-.NonDebug2 someMethod.*" { > >+ send_gdb "2\n" > >+ exp_continue > >+ } > >+ -re "Breakpoint \[0-9\]+ at 0x\[0-9a-f\]+.*" { pass $name } > >+ -re ".*$gdb_prompt $" { fail $name } > >+ timeout { fail "$name (timeout)" } > >+} > > David, Daniel, does exp_continue work with gdb_test_multiple? > Adam, if it does, it's a better alternative (as I learn't not two days > ago :-). Yes, it should work fine. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer