Module Name: src Committed By: christos Date: Sat Sep 3 19:33:40 UTC 2011
Modified Files: src/sys/kern: kern_sig.c Log Message: PR/45327: Jared McNeill: ptrace: siginfo doesn't work with traced processes When saving the signal in p->p_xstat, clear it from the pending mask, but don't remove it from the siginfo queue, so that next time the debugger delivers it, the original information is found. When posting a signal from the debugger l->l_sigpendset is not set, so we use the process pending signal and add it back to the process pending set. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.313 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.