sim: cr16/d10v: drop redundant call to sim_create_inferior

With the conversion to the nrun frontend, this call should no longer be
necessary.  It also actively crashes when trying to use the sd state.
This commit is contained in:
Mike Frysinger 2015-11-15 03:47:10 -08:00
parent e9b0081f98
commit 7ea08e8cb7
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete sim_create_inferior call.
2015-11-14 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_close): Delete.

View File

@ -940,7 +940,6 @@ sim_open (SIM_OPEN_KIND kind, struct host_callback_struct *cb, struct bfd *abfd,
/* reset the processor state */
if (!State.mem.data[0])
sim_size (1);
sim_create_inferior ((SIM_DESC) 1, NULL, NULL, NULL);
return sd;
}

View File

@ -1,3 +1,7 @@
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete sim_create_inferior call.
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* d10v_sim.h (d10v_callback): Delete.

View File

@ -856,7 +856,6 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, struct bfd *abfd, char **argv)
/* reset the processor state */
if (!State.mem.data[0])
sim_size (1);
sim_create_inferior ((SIM_DESC) 1, NULL, NULL, NULL);
return sd;
}