Re: [PATCH v2 26/30] linux-user/riscv: Use force_sig_fault, force_sigsegv_for_addr

2021-08-24 Thread Peter Maydell
On Sun, 22 Aug 2021 at 04:55, Richard Henderson wrote: > > Use the new functions instead of setting up a target_siginfo_t > and calling queue_signal. > > Signed-off-by: Richard Henderson > --- > linux-user/riscv/cpu_loop.c | 36 +++- > 1 file changed, 7

[PATCH v2 26/30] linux-user/riscv: Use force_sig_fault, force_sigsegv_for_addr

2021-08-21 Thread Richard Henderson
Use the new functions instead of setting up a target_siginfo_t and calling queue_signal. Signed-off-by: Richard Henderson --- linux-user/riscv/cpu_loop.c | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/linux-user/riscv/cpu_loop.c