diff options
Diffstat (limited to 'sim/bfin')
-rw-r--r-- | sim/bfin/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index 04c1773..e904506 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -675,7 +675,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, current_target_byte_order = BFD_ENDIAN_LITTLE; /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct bfin_cpu_state)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct bfin_cpu_state)) != SIM_RC_OK) { free_state (sd); |