cvs commit: src/sys/i386/i386 vm_machdep.c

Kelly Yancey kbyanc at FreeBSD.org
Wed Dec 8 11:03:55 PST 2004


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


More information about the cvs-src mailing list