OSDN Git Service

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