Module Name: src Committed By: kamil Date: Sat Dec 7 19:38:29 UTC 2019
Modified Files: src/external/bsd/libproc/dist: proc_util.c Log Message: Switch proc_getlwpstatus from PT_LWPINFO to PT_GET_SIGINFO for NetBSD PT_LWPINFO from FreeBSD is almost never intended to be expressed with PT_LWPINFO in NetBSD. PT_GET_SIGINFO reads siginfo_t with the signal information about the event, on FreeBSD siginfo_t is merged into ptrace_lwpinfo and returns the thread that received the event (not the first one in a list like on NetBSD). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/libproc/dist/proc_util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.