From 2419798b808521c666c29abc9b816154a979d69e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 Jul 2011 19:06:38 +0000 Subject: 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 --- sim/bfin/ChangeLog | 4 ++++ sim/bfin/interp.c | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'sim/bfin') diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index bb79cde..4d246ba 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2011-07-05 Mike Frysinger + + * interp.c (sim_do_command): Delete. + 2011-07-01 Mike Frysinger * interp.c (cb_linux_stat_map_32, cb_linux_stat_map_64): Rename from diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index f22c378..4e7a45c 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -1256,10 +1256,3 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, return SIM_RC_OK; } - -void -sim_do_command (SIM_DESC sd, char *cmd) -{ - if (sim_args_command (sd, cmd) != SIM_RC_OK) - sim_io_eprintf (sd, "Unknown command `%s'\n", cmd); -} -- cgit v1.1