freebsd-skq/sys/i386
Bruce Evans 846ac2266b Clear the single-step flag for signal handlers. This fixes bogus trace
traps on the first instruction of signal handlers.

In trap.c:syscall(), fake a trace trap if the single-step flag was set
on entry to the kernel, not if it will be set on exit from the kernel.
This fixes bogus trace traps after the last instruction of signal handlers.

gdb-4.18 (the version in FreeBSD) still has problems with the program in
the PR.  These seem to be due to bugs in gdb and not in FreeBSD, and are
fixed in gdb-5.1 (the distribution version).

PR:		33262
Tested by:	k Macy <kip_macy@yahoo.com>
MFC after:	1 day
2002-01-10 11:49:55 +00:00
..
acpica Fix typo in function name. 2002-01-10 03:26:46 +00:00
apm Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
bios Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf - generic Arcnet framework 2002-01-08 20:03:13 +00:00
i386 Clear the single-step flag for signal handlers. This fixes bogus trace 2002-01-10 11:49:55 +00:00
ibcs2 Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
include Use a spare slot in the machine context for a flags word to indicate 2002-01-10 02:32:30 +00:00
isa Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
linux Clear the single-step flag for signal handlers. This fixes bogus trace 2002-01-10 11:49:55 +00:00
pci Add identification string for AMD-761 host to PCI bridge. 2001-12-10 09:27:00 +00:00
svr4 Clear the single-step flag for signal handlers. This fixes bogus trace 2002-01-10 11:49:55 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00