Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2004 19:03:55 +0000 (UTC)
From:      Kelly Yancey <kbyanc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 vm_machdep.c
Message-ID:  <200412081903.iB8J3tkP088533@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412081903.iB8J3tkP088533>