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

Eli Zaretskii
2009-03-07T14:20:10Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Sat, 7 Mar 2009 12:27:36 +0000
> Cc: brobecker@adacore.com,
> drow@false.org
>
> 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.

In that case, I suggest this text:

Return an indication of whether the remote stub attached to an
existing process or created a new process.