]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/riscv: Use force_sig_fault
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jan 2022 21:32:39 +0000 (13:32 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 11 Jan 2022 17:40:44 +0000 (18:40 +0100)
commit8521cc21addac658997170fc8670d44625e44b24
tree0dfa1f704e3891ea81add9d6e440efc9590891e0
parentd30e60e7b4c38c3688e5690bc28f582c64a3c971
linux-user/riscv: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fix missing PC from EXCP_DEBUG by
merging the case with EXCP_BREAKPOINT.

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