summary refs log tree commit diff stats
path: root/qapi/string-output-visitor.c
diff options
context:
space:
mode:
authorRobbin Ehn <rehn@rivosinc.com>2024-01-12 21:57:22 +0100
committerRichard Henderson <richard.henderson@linaro.org>2024-01-23 13:22:46 +1000
commit6d913158b5023ac948b8fd649d77fc86e28072f6 (patch)
treecd0d174892f52f2ca23af83d7bf7838edfb30f48 /qapi/string-output-visitor.c
parent8f8419d3255365121e3596307b98ab3d6dcbdf1a (diff)
downloadfocaccia-qemu-6d913158b5023ac948b8fd649d77fc86e28072f6.tar.gz
focaccia-qemu-6d913158b5023ac948b8fd649d77fc86e28072f6.zip
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>
Diffstat (limited to 'qapi/string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions