]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/iq2000/sim-if.c
sim: cpu: change default init to handle all cpus
[thirdparty/binutils-gdb.git] / sim / iq2000 / sim-if.c
index e9b66b6a7ef9f4ce4bac8635d2530c4679a49e28..e02a413103e2985942e86be3570081371a3fc1c9 100644 (file)
@@ -70,7 +70,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
   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 iq2000_sim_cpu))
+  if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct iq2000_sim_cpu))
       != SIM_RC_OK)
     {
       free_state (sd);