Re: Move the multi-forks support to the generic multi-inferiors support.

Eli Zaretskii
2009-07-01T19:16:55Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Wed, 1 Jul 2009 19:27:59 +0100
> Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
> Eli Zaretskii <eliz@gnu.org>
>
> Eli, what do you think of this (and of the docs changes)?

I'm fine with it, but I have a couple of comments about the docs.

> +from it by using the @w{@code{detach inferior}} command (allowing it
> +to run independently), or kill it using the @w{@code{kill inferior}}
> +command. Again, @pxref{Inferiors, ,Debugging Multiple Inferiors}.

@pxref is inappropriate here, since it is designed to be used inside
parentheses. You want "see @ref" instead.

And I would lose the "Again" part (in which case you can simply use
@xref).

> +info inferiors
> + List the inferiors currently under GDB's control.
> +
> +inferior NUM
> + Switch focus to inferior number NUM.
> +
> +detach inferior NUM
> + Detach from inferior number NUM.
> +
> +kill inferior NUM
> + Kill inferior number NUM.

I think this deserves a short intro, like one or two sentences saying
something about multi-inferior debugging.

> +process PID
> + Removed.

Perhaps say something about replacement command(s), or why none is
needed.

Thanks.