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? Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ