From owner-cvs-src@FreeBSD.ORG Wed Dec 8 19:03:55 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B14016A4CE; Wed, 8 Dec 2004 19:03:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6730E43D53; Wed, 8 Dec 2004 19:03:55 +0000 (GMT) (envelope-from kbyanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8J3ts6088534; Wed, 8 Dec 2004 19:03:55 GMT (envelope-from kbyanc@repoman.freebsd.org) Received: (from kbyanc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB8J3tkP088533; Wed, 8 Dec 2004 19:03:55 GMT (envelope-from kbyanc) Message-Id: <200412081903.iB8J3tkP088533@repoman.freebsd.org> From: Kelly Yancey Date: Wed, 8 Dec 2004 19:03:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 19:03:55 -0000 kbyanc 2004-12-08 19:03:55 UTC FreeBSD src repository Modified files: sys/i386/i386 vm_machdep.c Log: If the parent process 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 unless the debugger had set PF_FORK on the parent. Otherwise, the child will receive a (likely unexpected) SIGTRAP when it executes the first instruction after returning to userland. Reviewed by: bde MFC after: 3 days Revision Changes Path 1.247 +12 -0 src/sys/i386/i386/vm_machdep.c