提交 430c7ec7 编写于 作者: M malc

Avoid SIGSEGV when dumping cpu state without enabled logging

Signed-off-by: Nmalc <av1474@comtv.ru>
上级 f64ab228
......@@ -1053,7 +1053,8 @@ do { \
fprintf(stderr, fmt , ## __VA_ARGS__); \
cpu_dump_state(env, stderr, fprintf, 0); \
qemu_log(fmt, ## __VA_ARGS__); \
log_cpu_state(env, 0); \
if (logfile) \
log_cpu_state(env, 0); \
} while (0)
void cpu_loop(CPUPPCState *env)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册