diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2004-12-08 19:03:55 +0000 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2004-12-08 19:03:55 +0000 |
commit | f947a8cc1cf9e160deab254a7ff4be233c0f56d3 (patch) | |
tree | cc3c26c5ae16a7d5844532ea312c2e51494cdf6c /contrib/bc/aclocal.m4 | |
parent | ef8150870e5acf935d8d5a80d0e04b08a14c5c14 (diff) | |
download | FreeBSD-src-f947a8cc1cf9e160deab254a7ff4be233c0f56d3.zip FreeBSD-src-f947a8cc1cf9e160deab254a7ff4be233c0f56d3.tar.gz |
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
Diffstat (limited to 'contrib/bc/aclocal.m4')
0 files changed, 0 insertions, 0 deletions