diff options
Diffstat (limited to 'sim/avr')
-rw-r--r-- | sim/avr/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/avr/interp.c b/sim/avr/interp.c index ddd9e1f..27834f1 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -1703,7 +1703,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, 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 avr_sim_cpu)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct avr_sim_cpu)) != SIM_RC_OK) { free_state (sd); |