Re: [PATCH v2 12/30] linux-user/cris: Use force_sig_fault, force_sigsegv_code

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. You should mention in the commit message that this fixes two bugs: * SIGSEGV not distinguishing MAPERR from ACCERR * SIGTRAP on breakpoint not se

[PATCH v2 12/30] linux-user/cris: Use force_sig_fault, force_sigsegv_code

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/cris/cpu_loop.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/linux-user/cris/cpu_loop.c b/linux-user/cris/cpu_lo