Use correct signal number for floating point exceptions.
Sponsored by: DARPA, AFRL Sponsored by: HEIF5
This commit is contained in:
parent
fbeb8fc5ac
commit
8b00dcebee
@ -1033,7 +1033,7 @@ dofault:
|
|||||||
|
|
||||||
case T_FPE + T_USER:
|
case T_FPE + T_USER:
|
||||||
if (!emulate_fp) {
|
if (!emulate_fp) {
|
||||||
i = SIGILL;
|
i = SIGFPE;
|
||||||
addr = trapframe->pc;
|
addr = trapframe->pc;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user