davidxu 2008-10-05 02:03:54 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 vm_machdep.c
sys/i386/i386 vm_machdep.c
Log:
SVN rev 183615 on 2008-10-05 02:03:54Z by davidxu
If the current thread has the trap bit set (i.e. a debugger had
single stepped the process to the system call), we need to clear
the trap flag from the new frame. Otherwise, the new thread will
receive a (likely unexpected) SIGTRAP when it executes the first
instruction after returning to userland.
Revision Changes Path
1.259 +8 -0 src/sys/amd64/amd64/vm_machdep.c
1.292 +8 -0 src/sys/i386/i386/vm_machdep.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"