]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/moxie/interp.c
sim: cpu: change default init to handle all cpus
[thirdparty/binutils-gdb.git] / sim / moxie / interp.c
index 144d83cbe8e7eec8c41ace2d0fe4ea1778d3c2ce..2bc241db6f567b5f4697402d9f51faea372e8cc3 100644 (file)
@@ -1202,7 +1202,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb,
   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 moxie_sim_cpu))
+  if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct moxie_sim_cpu))
       != SIM_RC_OK)
     {
       free_state (sd);