This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What has replaced fork to launch external commands?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]