提交 e1aa3254 编写于 作者: E Edgar E. Iglesias 提交者: Edgar E. Iglesias

microblaze: Dont segfault when singlestepping first insn.

Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@petalogix.com>
上级 b551ec04
......@@ -251,6 +251,12 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
int is_asi, int size)
{
CPUState *saved_env;
if (!cpu_single_env) {
/* XXX: ??? */
return;
}
/* XXX: hack to restore env in all cases, even if not called from
generated code */
saved_env = env;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册