Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 11/29/2001 03:27:54
Module Name:	syssrc
Committed By:	nathanw
Date:		Thu Nov 29 01:27:54 UTC 2001

Modified Files:
	syssrc/sys/kern [nathanw_sa]: sys_process.c

Log Message:
Make sys_ptrace() slightly more sensical on multi-LWP processes:

- Don't bail out when the tracing process has multiple LWPs, as the code did;
- Don't even bail out when the traced processes has multiple LWPs, as I
  originally intended to do;
- Use proc_representative_lwp() to select a LWP to act on.

This permits ptrace memory accesses to work properly; there's still no
interface for targeting a specific LWP for register operations or
single-stepping.


To generate a diff of this commit:
cvs rdiff -r1.66.2.5 -r1.66.2.6 syssrc/sys/kern/sys_process.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.