Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2016 15:49:41 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308132 - head/sys/mips/mips
Message-ID:  <201610311549.u9VFnfKX057107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610311549.u9VFnfKX057107>