diff options
Diffstat (limited to 'sim/h8300')
-rw-r--r-- | sim/h8300/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index cc8b52c..467eeaf 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -4631,7 +4631,7 @@ sim_open (SIM_OPEN_KIND kind, current_target_byte_order = BFD_ENDIAN_BIG; /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct h8300_sim_cpu)) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct h8300_sim_cpu)) != SIM_RC_OK) { free_state (sd); |