From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3451 invoked by alias); 23 Nov 2003 20:31:07 -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 3444 invoked from network); 23 Nov 2003 20:31:06 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Nov 2003 20:31:06 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AO0sr-0005gf-Tg; Sun, 23 Nov 2003 15:31:05 -0500 Date: Sun, 23 Nov 2003 20:31:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Don't use runto_main in i386-unwind.exp Message-ID: <20031123203105.GA21805@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sources.redhat.com References: <200311231937.hANJb4Zu009335@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311231937.hANJb4Zu009335@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00494.txt.bz2 On Sun, Nov 23, 2003 at 08:37:04PM +0100, Mark Kettenis wrote: > There is no real reson to use runto_main in this testcase, so I > removed it. > > Committed, > > Mark Please don't do this. runto_main works (suboptimally, but it works) for remote targets which use a "target foo; load; continue" sequence, but "run" doesn't. How about gdb_run_cmd followed by a gdb_expect looking for the SIGTRAP? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer