Re: [remote/rfc] Let GDB know if a remote server originally attached to a process.

Eli Zaretskii
2009-03-07T10:29:56Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Fri, 6 Mar 2009 21:24:01 +0000
> Cc: Joel Brobecker <brobecker@adacore.com>,
> Daniel Jacobowitz <drow@false.org>,
> Eli Zaretskii <eliz@gnu.org>
>
> Eli, is the documentation addition OK?

I have a few comments.

> +@item qAttached:@var{pid}
> +@cindex query attached, remote request
> +@cindex @samp{qAttached} packet
> +Return if the remote target is attached to the process with the
> +specified process ID, instead of having created it.

This sentence probably needs to be rephrased, but I don't understand
what it means, and so cannot suggest how to rephrase it. It sounds
like you meant to say "Return an indication of whether the remote
target is attached ...", but then what is the purpose of adding
"instead of having created it"? Could you please explain?

> @var{pid} is a
> +hexadecimal integer identifying the target process.

There's no such thing as "hexadecimal integer". I think you mean
"an integer in hexadecimal format".

> +This query is used to, for example, know whether the remote process

Don't separate "to" from its verb:

This query is used, for example, to know whether ...

Thanks.