linux-user/sh4: Use force_sig_fault
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jan 2022 21:32:41 +0000 (13:32 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 11 Jan 2022 17:40:44 +0000 (18:40 +0100)
commit588c7a171b01876963894bd48946fbcc5bdf21a8
tree0692c79ea7508be795307290cf60b99b5a2783ca
parent8f0bebebd29b672a11a5de48b3330ca60524d286
linux-user/sh4: 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-23-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sh4/cpu_loop.c