Re: Signal issue with strace

2013-06-09 Thread Dmitry V. Levin
On Mon, Jun 10, 2013 at 04:44:33AM +0530, Raghavendra D Prabhu wrote: > Hi, > > * On Mon, Jun 10, 2013 at 03:24:01AM +0530, Raghavendra D Prabhu > wrote: > >Hi, > > > >I am seeing the following with SIGCONT/STOP: > > > >1) sleep 1000 > >2) oid=$! > >3) strace -p $oid > > > >Other shell: > > > >a

Re: Signal issue with strace

2013-06-09 Thread Raghavendra D Prabhu
Hi, * On Mon, Jun 10, 2013 at 03:24:01AM +0530, Raghavendra D Prabhu wrote: >Hi, > >I am seeing the following with SIGCONT/STOP: > >1) sleep 1000 >2) oid=$! >3) strace -p $oid > >Other shell: > >a) kill -STOP $oid > > >Now, strace prints "--- stopped by SIGSTOP ---" which is right but >trying t

Re: Signal issue with strace

2013-06-09 Thread Dmitry V. Levin
Hi, On Mon, Jun 10, 2013 at 03:24:01AM +0530, Raghavendra D Prabhu wrote: > Hi, > > I am seeing the following with SIGCONT/STOP: > > 1) sleep 1000 > 2) oid=$! > 3) strace -p $oid > > Other shell: > > a) kill -STOP $oid > > > Now, strace prints "--- stopped by SIGSTOP ---" which is right >

Signal issue with strace

2013-06-09 Thread Raghavendra D Prabhu
Hi, I am seeing the following with SIGCONT/STOP: 1) sleep 1000 2) oid=$! 3) strace -p $oid Other shell: a) kill -STOP $oid Now, strace prints "--- stopped by SIGSTOP ---" which is right but trying to Ctrl-C to break strace fails. I guess this may be expected. Now, after kill -CONT $oid,