Module Name: src Committed By: kamil Date: Wed May 1 21:57:35 UTC 2019
Modified Files: src/sys/kern: kern_lwp.c sys_lwp.c Log Message: Correct passing debugger related events for LWP create and exit Add MI toplevel startlwp function. Switch all userland LWPs to go through lwp_create using a shared mi_startlwp() function between all MD ABIs. Add debugger related event handling in mi_startlwp() and continue with standard p->p_emul->e_startlwp at the end of this routine. Use eventswitch() to notify the event of LWP exit in lwp_exit(). ATF ptrace(2) tests signal9 and signal10 now pass. To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.63 -r1.64 src/sys/kern/sys_lwp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.