Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Gregory McGarry <gmcgarry@netbsd.org>
List: source-changes
Date: 08/28/2002 10:27:16
Module Name:	syssrc
Committed By:	gmcgarry
Date:		Wed Aug 28 07:27:16 UTC 2002

Modified Files:
	syssrc/sys/kern: sys_process.c

Log Message:
Attempt to protect restartable atomic sequences of a traced process
being written to.  Breakpoints aren't good in a RAS.  This test isn't
infallible, since we can't protect memory which will be registered
as a RAS in the future.

Also, set the PC before attempting to single-step, so we can backout
from single-stepping.  Just in case we try to single-step into a RAS.


To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 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.