cvs commit: src/sys/amd64/amd64 vm_machdep.c src/sys/i386/i386
vm_machdep.c
David Xu
davidxu at FreeBSD.org
Sun Oct 5 02:05:26 UTC 2008
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
More information about the cvs-src
mailing list