aboutsummaryrefslogtreecommitdiff
path: root/scripts/probe-gdb-support.py
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 /scripts/probe-gdb-support.py
parent8f8419d3255365121e3596307b98ab3d6dcbdf1a (diff)
downloadqemu-6d913158b5023ac948b8fd649d77fc86e28072f6.zip
qemu-6d913158b5023ac948b8fd649d77fc86e28072f6.tar.gz
qemu-6d913158b5023ac948b8fd649d77fc86e28072f6.tar.bz2
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 'scripts/probe-gdb-support.py')
0 files changed, 0 insertions, 0 deletions