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

Pedro Alves
2009-03-07T12:27:35Z

On Saturday 07 March 2009 10:29:42, Eli Zaretskii wrote:

> > +@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?

Let me try. This is about returning an indication of how did the
process that is now under the stub's control originaly get under
the stub's control. Was it due to an "attach"-like operation?, or, was
it due to a "run"-like operation? The latter was the "created it"
version.

>
> > @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".

Ok.

>
> > +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 ...

Ok.

>
> Thanks.
>

Thank you.

--
Pedro Alves