diff options
Diffstat (limited to 'sim/mcore/interp.c')
-rw-r--r-- | sim/mcore/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 84b243f..ae554c7 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -1370,7 +1370,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, cb->syscall_map = cb_mcore_syscall_map; /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct mcore_sim_cpu)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct mcore_sim_cpu)) != SIM_RC_OK) { free_state (sd); |