qemu/linux-user
Robbin Ehn 6d913158b5 linux-user: Fixed cpu restore with pc 0 on SIGBUS
Commit f4e1168198 (linux-user: Split out host_sig{segv,bus}_handler)
introduced a bug, when returning from host_sigbus_handler the PC is
never set. Thus cpu_loop_exit_restore is called with a zero PC and
we immediate get a SIGSEGV.

Signed-off-by: Robbin Ehn <rehn@rivosinc.com>
Fixes: f4e1168198 ("linux-user: Split out host_sig{segv,bus}_handler")
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Message-Id: <33f27425878fb529b9e39ef22c303f6e0d90525f.camel@rivosinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-01-23 13:22:46 +10:00
..
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:56 -07:00
2023-12-04 15:12:57 +01:00
2023-10-30 13:41:55 -07:00
2023-10-04 11:03:54 -07:00
2023-10-30 13:41:56 -07:00
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:55 -07:00