diff options
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r-- | sim/mips/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c index fa192d3..d44c474a 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -351,7 +351,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER); /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct mips_sim_cpu)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct mips_sim_cpu)) != SIM_RC_OK) return 0; |