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
Qemu mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when on
the instruction in the delay slot. We must save the address of
the previous instruction.
Signed-off-by: Mikulas Patocka
Cc: qemu-sta...@nongnu.org
---
linux-user/sh4/signal.c |8
1 file changed, 8 insertions(+)
Index: qemu/linux
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
Cc: qemu-sta...@
On Sat, 16 Sep 2023, Helge Deller wrote:
> On 9/16/23 15:52, Mikulas Patocka wrote:
> > The code in setup_rt_frame reads two words at haddr, but locks only one.
> > This patch fixes it to lock both.
> >
> > Signed-off-by: Mikulas Patocka
> >
> > --
he 'N'
flag is set, the flag remains set at the beginning of the signal handler
and the first instruction of the signal handler is skipped.
Signed-off-by: Mikulas Patocka
---
linux-user/hppa/signal.c |1 +
1 file changed, 1 insertion(+)
Index: qemu/linux-user/hppa/signal.c
==
The code in setup_rt_frame reads two words at haddr, but locks only one.
This patch fixes it to lock both.
Signed-off-by: Mikulas Patocka
---
linux-user/hppa/signal.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Index: qemu/linux-user/hppa/signal.c