From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30184 invoked by alias); 17 Feb 2003 17:00:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30164 invoked from network); 17 Feb 2003 17:00:17 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 17 Feb 2003 17:00:17 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18kqVy-0001qd-00; Mon, 17 Feb 2003 13:01:18 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18kocn-0004vw-00; Mon, 17 Feb 2003 12:00:13 -0500 Date: Mon, 17 Feb 2003 17:00:00 -0000 From: Daniel Jacobowitz To: Alex Bennee Cc: gdb@sources.redhat.com Subject: Re: What has replaced fork to launch external commands? Message-ID: <20030217170013.GA18947@nevyn.them.org> Mail-Followup-To: Alex Bennee , gdb@sources.redhat.com References: <1045500565.2505.20.camel@cambridge.braddahead> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045500565.2505.20.camel@cambridge.braddahead> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00266.txt.bz2 On Mon, Feb 17, 2003 at 04:49:25PM +0000, Alex Bennee wrote: > I thought I would give the latest gdb(5.3) a spin and see if it could > interface with ST's gdb server to talk to my ICE. The original gcc is > dated 20020211. > > Happy that it all built ok for my target system it fell over on startup > because the "fork" command used to lauch the gdbserver seems to of > disapeared: > fork shlaunch -si $arg0 -gdbserv host=$arg1 -cid0 host=$arg1 > noposixconsole > > Is there a drop-in replacement? I greped the Changelogs but all the fork > references seem to be talking about debugged processes rather than > commands. Where'd you get this 20020211 GDB? I don't remember GDB ever having a "fork" command. Meanwhile you can probably roughly use "shell" if I'm understanding what you're doing. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer