提交 924edcae 编写于 作者: B balrog

Flush the debug log when qemu Aborts (patch by Herve Poussineau)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2971 c046a42c-6fe2-441c-8c8c-71466251a162
上级 7a774c87
......@@ -1286,6 +1286,10 @@ void cpu_abort(CPUState *env, const char *fmt, ...)
cpu_dump_state(env, stderr, fprintf, 0);
#endif
va_end(ap);
if (logfile) {
fflush(logfile);
fclose(logfile);
}
abort();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册