freebsd-skq/sys/i386/linux
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
..
imgact_linux.c Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
linux_dummy.c Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_genassym.c Round of cleanups and enhancements. These include (in random order): 2001-09-08 19:07:04 +00:00
linux_locore.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
linux_machdep.c Oops, these already included sys/lock.h, they just did so after 2001-10-11 18:25:57 +00:00
linux_proto.h Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_syscall.h Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_sysent.c Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_sysvec.c Clear the single-step flag for signal handlers. This fixes bogus trace 2002-01-10 11:49:55 +00:00
linux.h In FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linux 2001-10-15 20:06:34 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master o Change prototype of linux_lchown and linux_chown so that the 2001-10-16 06:11:11 +00:00