Do not generate a trap signal for a spurious SIGTRAP caused by single-
authorThomas E. Spanjaard <tgen@dragonflybsd.org>
Fri, 2 Feb 2007 20:00:22 +0000 (20:00 +0000)
committerThomas E. Spanjaard <tgen@dragonflybsd.org>
Fri, 2 Feb 2007 20:00:22 +0000 (20:00 +0000)
commit2612135b6a4900fa3b7919d763fd501b10033a57
tree01f2548557d0f1b6836ffb52ba81385d701b89c5
parentd3f0662c7e2323ab1d0a1c2e2332b32fb552bb1f
Do not generate a trap signal for a spurious SIGTRAP caused by single-
stepping in syscalls. Otherwise, a signal 0 is sent, which leads to a
panic, which leads to discovering NULL dereferences in DDB machdep code.
sys/platform/vkernel/i386/trap.c