From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1010 invoked by alias); 17 Feb 2003 17:04:41 -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 965 invoked from network); 17 Feb 2003 17:04:40 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 17 Feb 2003 17:04:40 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6F4923CEC; Mon, 17 Feb 2003 12:04:40 -0500 (EST) Message-ID: <3E511628.9040302@redhat.com> Date: Mon, 17 Feb 2003 17:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alex Bennee Cc: gdb@sources.redhat.com Subject: Re: What has replaced fork to launch external commands? References: <1045500565.2505.20.camel@cambridge.braddahead> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00269.txt.bz2 > 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. What did you upgrade from? GDB has a shell command, but not fork. Andrew > 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 Try: shell 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. > > -- Alex, homepage: http://www.bennee.com/~alex/ "I'm a cat person, myself," she said, vaguely. A low-level voice said: "Yeah? Yeah? Wash in your own spit, do you?" -- It's a dog's life (Terry Pratchett, Moving Pictures)