svn commit: r202882 - in head/sys: amd64/amd64 amd64/ia32 i386/i386 kern sys

Kostik Belousov kostikbel at
Sat Jan 23 11:51:31 UTC 2010

On Sat, Jan 23, 2010 at 11:45:35AM +0000, Konstantin Belousov wrote:
> Author: kib
> Date: Sat Jan 23 11:45:35 2010
> New Revision: 202882
> URL:
> Log:
>   For PT_TO_SCE stop that stops the ptraced process upon syscall entry,
>   syscall arguments are collected before ptracestop() is called. As a
>   consequence, debugger cannot modify syscall or its arguments.
>   For i386, amd64 and ia32 on amd64 MD syscall(), reread syscall number
>   and arguments after ptracestop(), if debugger modified anything in the
>   process environment. Since procfs stopeven requires number of syscall
>   arguments in p_xstat, this cannot be solved by moving stop/trace point
>   before argument fetching.
I am willing to help architecture maintainers to implement this for
corresponding architectures, if any help is needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list