Re: ptrace problem 6.x/7.x - can someone explain this?

2009-10-28 Thread Eygene Ryabinkin
Dorr, good day. Tue, Oct 27, 2009 at 05:32:34PM -0700, Dorr H. Clark wrote: > We believe ptrace has a problem in 6.3; we have not tried other > releases. The same code, however, exists in 7.1. And in HEAD too. > The bug was first encountered in gdb... > > (gdb) det > Detaching from program: /u

ptrace problem 6.x/7.x - can someone explain this?

2009-10-27 Thread Dorr H. Clark
We believe ptrace has a problem in 6.3; we have not tried other releases. The same code, however, exists in 7.1. The bug was first encountered in gdb... (gdb) det Detaching from program: /usr/local/bin/emacs, process 66217 (gdb) att 66224 Attaching to program: /usr/local/bin/emacs, process 662

Re: ptrace problem

2002-06-11 Thread Peter Edwards
silent wrote: > Hi! > > there is a problem in ptrace code or my understanding of how > it should work. man page says taht PT_DETACH acts same way > PT_CONTIUNE does, but when i try to detach from process with > PT_DETACH delayed? sigstop is delivered, and process becomes > suspended. Valid

ptrace problem

2002-06-11 Thread silent
Hi! there is a problem in ptrace code or my understanding of how it should work. man page says taht PT_DETACH acts same way PT_CONTIUNE does, but when i try to detach from process with PT_DETACH delayed? sigstop is delivered, and process becomes suspended. Valid solution/workaround seems t