On Wed, Oct 7, 2009 at 4:44 PM, Rajat Jain <[email protected]> wrote:

> BTW, ptrace is about when the process to be debugged is started from
> within gdb process. PArent process debugging the child process.
>
> How does gdb attach to a process that it has not started, in other
> words, how does it attach to a process that is not its child?
>
>
 The debugged process effectively becomes a child of GDB when PTRACE_ATTACH
is used.  More info in the man page.

- P

Reply via email to