Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [nathanw_sa] syssrc/sys/kern



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.




Home | Main Index | Thread Index | Old Index