diff options
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r-- | sim/v850/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c index efe35c6..948b724 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -206,7 +206,7 @@ sim_open (SIM_OPEN_KIND kind, cb->syscall_map = cb_v850_syscall_map; /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct v850_sim_cpu)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct v850_sim_cpu)) != SIM_RC_OK) return 0; |