linux-user/cris: Use force_sig_fault
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jan 2022 21:32:23 +0000 (13:32 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 11 Jan 2022 17:40:43 +0000 (18:40 +0100)
commit32e321861d43d4b7fec813f3884562bc58dce4fe
tree7a933622c90806208d8d4fdcb9fd1f07ed425871
parent1c165977de21d02f8f1590499dd34fc748fbfffa
linux-user/cris: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-5-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/cris/cpu_loop.c