This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Move the multi-forks support to the generic multi-inferiors support.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: msnyder at vmware dot com, gdb-patches at sourceware dot org
- Date: Wed, 01 Jul 2009 22:15:51 +0300
- Subject: Re: Move the multi-forks support to the generic multi-inferiors support.
- References: <200905310013.38916.pedro@codesourcery.com> <4A315A9F.8090805@vmware.com> <200907011927.59624.pedro@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.