Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/machdep.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/machdep.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.196 retrieving revision 1.197 diff -u -p -r1.196 -r1.197 --- src/sys/arch/i386/i386/machdep.c 1996/04/11 07:47:33 1.196 +++ src/sys/arch/i386/i386/machdep.c 1996/04/12 08:44:40 1.197 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.196 1996/04/11 07:47:33 mycroft Exp $ */ +/* $NetBSD: machdep.c,v 1.197 1996/04/12 08:44:40 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1996 Charles M. Hannum. All rights reserved. @@ -558,7 +558,6 @@ sendsig(catcher, sig, mask, code) frame.sf_sc.sc_es = tf->tf_vm86_es; frame.sf_sc.sc_ds = tf->tf_vm86_ds; frame.sf_sc.sc_eflags = get_vflags(p); - tf->tf_eflags &= ~PSL_VM; } else #endif { @@ -598,6 +597,7 @@ sendsig(catcher, sig, mask, code) tf->tf_ds = GSEL(GUDATA_SEL, SEL_UPL); tf->tf_eip = (int)(((char *)PS_STRINGS) - (esigcode - sigcode)); tf->tf_cs = GSEL(GUCODE_SEL, SEL_UPL); + tf->tf_eflags &= ~(PSL_T|PSL_VM); tf->tf_esp = (int)fp; tf->tf_ss = GSEL(GUDATA_SEL, SEL_UPL); }