Date: Sun, 5 Oct 2008 02:03:54 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 vm_machdep.c src/sys/i386/i386 vm_machdep.c Message-ID: <200810050205.m9525Qti066272@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810050205.m9525Qti066272>