From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15662 invoked by alias); 24 Jan 2006 22:09:36 -0000 Received: (qmail 15650 invoked by uid 22791); 24 Jan 2006 22:09:34 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 24 Jan 2006 22:09:30 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F1WLw-0007TE-8y for gdb-patches@sourceware.org; Tue, 24 Jan 2006 17:09:28 -0500 Date: Tue, 24 Jan 2006 22:09:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: RFC: target_create_inferior that does not call proceed Message-ID: <20060124220928.GB27626@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20060116200238.GA11566@nevyn.them.org> <20060121151345.GA600@nevyn.them.org> <20060124191624.GA23949@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00384.txt.bz2 On Tue, Jan 24, 2006 at 11:28:46PM +0200, Eli Zaretskii wrote: > > Date: Tue, 24 Jan 2006 14:16:24 -0500 > > From: Daniel Jacobowitz > > Cc: Eli Zaretskii > > > > > The only call site for target_create_inferior is at the bottom of > > > run_command_1. It first creates a new inferior, and then calls > > > proceed, which transitions the inferior from stopped to executing. > > > prog_has_started is only set when the program is created and cleared > > > when it is killed, so I think the patch is right - but I don't > > > understand all the DOS-specific bits of go32-nat.c. > > > > Hi Eli, > > > > Was this sufficient? > > Yes, I think your patch is good to go. > > Thanks. Thanks! I've checked it in. I'm not going to work on the create-inferior command right now, but I've left myself a note to do that sometime if nobody else does. -- Daniel Jacobowitz CodeSourcery