This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: What has replaced fork to launch external commands?
On Mon, Feb 17, 2003 at 05:07:52PM +0000, Alex Bennee wrote:
> On Mon, 2003-02-17 at 17:00, Daniel Jacobowitz wrote:
> > On Mon, Feb 17, 2003 at 04:49:25PM +0000, Alex Bennee wrote:
> > Where'd you get this 20020211 GDB? I don't remember GDB ever having a
> > "fork" command.
>
> >From ST's SH linux tools. Based on the original Monta Vista ones IIRC. I
> guess they must of patched gdb. If I can check-out the 20020211 source
> code from CVS I'll diff against the supplied sources and see what they
> changed.
>
> It would help if I knew which branch it came from.
If so I'm guessing it came from ST; MontaVista didn't add this command
either.
> > Meanwhile you can probably roughly use "shell" if I'm understanding
> > what you're doing.
>
> Mmm, tried that but it ends up echoing gdb server stuff to the gdb
> command line.
Eh? An example, please? I guess it depends what the fork command is
actually _doing_.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer