Sync with sys/i386/i386/trap.c revision 1.127.

This commit is contained in:
KATO Takenori 1998-04-29 09:45:38 +00:00
parent 312e185f9c
commit ccf47cfced
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35508

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.48 1998/03/31 07:53:08 kato Exp $
* $Id: trap.c,v 1.49 1998/04/16 16:31:36 kato Exp $
*/
/*
@ -573,6 +573,10 @@ trap(frame)
return;
}
/* Translate fault for emulators (e.g. Linux) */
if (*p->p_sysent->sv_transtrap)
i = (*p->p_sysent->sv_transtrap)(i, type);
trapsignal(p, i, ucode);
#ifdef DEBUG