On 9/28/23 12:55, Mikulas Patocka wrote:


On Thu, 28 Sep 2023, Richard Henderson wrote:

Just call force_sig_fault directly.


r~

OK. Here I'm resending it.

Mikulas



From: Mikulas Patocka <mpato...@redhat.com>

Qemu mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when one of the integer arithmetic instructions detects
an overflow.

This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead.

Signed-off-by: Mikulas Patocka <mpato...@redhat.com>
Cc: qemu-sta...@nongnu.org

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

and queued to linux-user-next.


r~

Reply via email to