summary refs log tree commit diff stats
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-08-27 15:27:50 +1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-30 06:59:26 +1000
commitf3d9393791e6c02bae99f920d350e65cd299fed1 (patch)
treeafe3ff17f514f0cff79100388dc4e7e3a60584e8 /linux-user/strace.c
parentca18b336e12c8433177a3cd639c5bf757952adaa (diff)
downloadfocaccia-qemu-f3d9393791e6c02bae99f920d350e65cd299fed1.tar.gz
focaccia-qemu-f3d9393791e6c02bae99f920d350e65cd299fed1.zip
hw/core: Dump cpu_reset in the reset.exit phase
During reset.hold, the cpu is in an inconsistent state,
where the leaf class has not had a chance to initialize
state at all.

This is visible as a SIGSEGV in "qemu-system-sparc64 -d cpu_reset".

Move the dump to the exit phase, where all initialization
is certain to be complete.

Reported-by: Henk van der Laak <henk@laaksoft.nl>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/strace.c')
0 files changed, 0 insertions, 0 deletions