aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
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/h8300
parent52cb9dfed024ca2df3a1a7f7340e7faa07321db3 (diff)
downloadgdb-2419798b808521c666c29abc9b816154a979d69e.zip
gdb-2419798b808521c666c29abc9b816154a979d69e.tar.gz
gdb-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/h8300')
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 81d9d01..04278f8 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-05 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_do_command): Delete.
+
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
* compile.c (sim_store_register): Update return value to
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index b249080..7b4a5fa 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -5108,13 +5108,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)
}
void
-sim_do_command (SIM_DESC sd, char *cmd)
-{
- (*sim_callback->printf_filtered) (sim_callback,
- "This simulator does not accept any commands.\n");
-}
-
-void
sim_set_callbacks (struct host_callback_struct *ptr)
{
sim_callback = ptr;