Re: [PATCH v2 22/30] linux-user/mips: Improve do_break

2021-08-24 Thread Philippe Mathieu-Daudé
On 8/22/21 5:55 AM, Richard Henderson wrote: > Rename to do_tr_or_bp, as per the kernel function. > Add a 'trap' argument, akin to the kernel's si_code, but clearer. > The return value is always 0, so change the return value to void. > Use force_sig and force_sig_fault. > > Signed-off-by: Richard

[PATCH v2 22/30] linux-user/mips: Improve do_break

2021-08-21 Thread Richard Henderson
Rename to do_tr_or_bp, as per the kernel function. Add a 'trap' argument, akin to the kernel's si_code, but clearer. The return value is always 0, so change the return value to void. Use force_sig and force_sig_fault. Signed-off-by: Richard Henderson --- linux-user/mips/cpu_loop.c | 47 +