Follow linux-user changes.

This commit is contained in:
Gleb Popov 2021-09-07 21:21:01 +03:00
parent 086c2ff54a
commit 9bed0fa1ca
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ static inline void target_cpu_init(CPUE2KState *env,
env->sbr = regs->sbr;
env->elf_flags = info->elf_flags;
// Save initial frame for gdb.
env->is_bp = true;
e2k_proc_call(env, env->wd.size, env->ip, true);
// TODO: set a chain info to return to kernel
if (eflags & E2K_ELF_PM) {