Hi Dmitry, On Sat, Dec 24, 2016 at 04:59:21PM +0300, Dmitry V. Levin wrote: > I'd rather extended new -efault= syntax with :signal= option.
Thanks for the feedback. You're absolutely right, adding this to -e fault is the best solution, not only it minimizes new code, but gives a nice consistent UI. I should have read its implementation before beginning mine... I'll send a patch on Monday, no one looks at those at celebrations anyway. > > Currently, I modified the sources so the signal is send through > > ptrace(<GET|SET>SIGINFO... and ptrace_restart afterwards. I tried > > adding > > There is no need to do additional PTRACE_SETSIGINFO calls, one can pass > the signal along with PTRACE_SYSCALL call in restart_tracee. I hadn't send signals via ptrace before, so I trusted the man pages. Thanks for the tip. Have a nice holiday weekend ! Seraphime Kirkovski ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel