linux-user/hppa: Use force_sig_fault
commitf64859684a6fa37bbf6118ca732af7ae70617990
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jan 2022 21:32:24 +0000 (7 13:32 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 11 Jan 2022 17:40:43 +0000 (11 18:40 +0100)
treeadb74c253fdae55edffa2120ee9a8b1919369d4c
parent32e321861d43d4b7fec813f3884562bc58dce4fe
linux-user/hppa: 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
and missing si_code for SIGBUS.

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