aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-15 03:47:10 -0800
committerMike Frysinger <vapier@gentoo.org>2015-11-15 20:47:31 -0500
commit7ea08e8cb74bc21fcfe5befc0f3c8de3762cb0d6 (patch)
treeb43d85cab6e227e89e359aa8ae91fca31643464b /sim/cr16
parente9b0081f986716eca364580fdfeb1034c5da76c9 (diff)
downloadgdb-7ea08e8cb74bc21fcfe5befc0f3c8de3762cb0d6.zip
gdb-7ea08e8cb74bc21fcfe5befc0f3c8de3762cb0d6.tar.gz
gdb-7ea08e8cb74bc21fcfe5befc0f3c8de3762cb0d6.tar.bz2
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.
Diffstat (limited to 'sim/cr16')
-rw-r--r--sim/cr16/ChangeLog4
-rw-r--r--sim/cr16/interp.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 5cbb413..86d730b 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -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.
diff --git a/sim/cr16/interp.c b/sim/cr16/interp.c
index 8af7aef..278a5ab 100644
--- a/sim/cr16/interp.c
+++ b/sim/cr16/interp.c
@@ -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;
}