Module Name: src Committed By: kamil Date: Tue Jun 4 11:54:04 UTC 2019
Modified Files: src/sys/kern: kern_lwp.c kern_sig.c Log Message: Stop trying to inform debugger about events from an exiting child Do not emit signals to parent for if a process is demising: - fork/vfork/similar - lwp created/exited - exec - syscall entry/exit With these changes Go applications can be traced without a clash under a debugger, at least without deadlocking always. The culprit reason was an attempt to inform a debugger in the middle of exit1() call about a dying LWP. Go applications perform exit(2) without collecting threads first. Verified with GDB and picotrace-based utilities like sigtracer. PR kern/53120 PR port-arm/51677 PR bin/54060 PR bin/49662 PR kern/52548 To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.358 -r1.359 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.