Author: br
Date: Mon Oct 31 15:49:41 2016
New Revision: 308132
URL: https://svnweb.freebsd.org/changeset/base/308132
Log:
Use correct signal number for floating point exceptions.
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Modified:
head/sys/mips/mips/trap.c
Modified: head/sys/mips/mips/trap.c
==============================================================================
--- head/sys/mips/mips/trap.c Mon Oct 31 15:46:06 2016 (r308131)
+++ head/sys/mips/mips/trap.c Mon Oct 31 15:49:41 2016 (r308132)
@@ -1033,7 +1033,7 @@ dofault:
case T_FPE + T_USER:
if (!emulate_fp) {
- i = SIGILL;
+ i = SIGFPE;
addr = trapframe->pc;
break;
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"