Re: Where has GETSIGINFO gone?

2009-07-14 Thread Shachar Shemesh
Daniel Jacobowitz wrote: On Sat, Jul 11, 2009 at 11:07:51AM +0300, Shachar Shemesh wrote: The problem is that, as a debugger, I need to be able to differentiate between a SIGTRAP supposedly delivered to the debuggee because I asked to trace the system calls, and a SIGTRAP actually delivered

Re: Where has GETSIGINFO gone?

2009-07-14 Thread Daniel Jacobowitz
On Tue, Jul 14, 2009 at 09:53:00AM +0300, Shachar Shemesh wrote: Yes, I have, and the last sentence in the relevant paragraph from the ptrace(2) manual page scares me no end: PTRACE_O_TRACESYSGOOD (since Linux 2.4.6) When delivering syscall traps, set bit 7