aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-05 19:06:38 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-05 19:06:38 +0000
commit2419798b808521c666c29abc9b816154a979d69e (patch)
tree17bb3de27399d93aa661d0ad8622ef4a3bbc7564 /sim/mips
parent52cb9dfed024ca2df3a1a7f7340e7faa07321db3 (diff)
downloadbinutils-2419798b808521c666c29abc9b816154a979d69e.zip
binutils-2419798b808521c666c29abc9b816154a979d69e.tar.gz
binutils-2419798b808521c666c29abc9b816154a979d69e.tar.bz2
sim: start a unified sim_do_command
Since sim_do_command for many people simply calls sim_args_command, start a unified version of it. For people who handle their own options, they could switch to this by using sim_add_option_table instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c10
2 files changed, 4 insertions, 10 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index b19991f..2f4a8d5 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_do_command): Delete.
+
2011-02-14 Mike Frysinger <vapier@gentoo.org>
* dv-tx3904sio.c (tx3904sio_fifo_push): Change zfree to free.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 492ae60..edd4250 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1142,16 +1142,6 @@ sim_create_inferior (sd, abfd, argv,env)
return SIM_RC_OK;
}
-void
-sim_do_command (sd,cmd)
- SIM_DESC sd;
- char *cmd;
-{
- if (sim_args_command (sd, cmd) != SIM_RC_OK)
- sim_io_printf (sd, "Error: \"%s\" is not a valid MIPS simulator command.\n",
- cmd);
-}
-
/*---------------------------------------------------------------------------*/
/*-- Private simulator support interface ------------------------------------*/
/*---------------------------------------------------------------------------*/