This is the mail archive of the
mailing list for the GDB project.
Re: What has replaced fork to launch external commands?
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Alex Bennee <kernel-hacker at bennee dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 17 Feb 2003 18:04:40 +0100
- Subject: Re: What has replaced fork to launch external commands?
- References: <email@example.com>
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
What did you upgrade from? GDB has a shell command, but not fork.
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
fork shlaunch -si $arg0 -gdbserv host=$arg1 -cid0 host=$arg1
shell shlaunch -si $arg0 -gdbserv host=$arg1 -cid0 host=$arg1 &
Is there a drop-in replacement? I greped the Changelogs but all the fork
references seem to be talking about debugged processes rather than
-- 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)