diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-05 19:06:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-05 19:06:38 +0000 |
commit | 2419798b808521c666c29abc9b816154a979d69e (patch) | |
tree | 17bb3de27399d93aa661d0ad8622ef4a3bbc7564 /sim/lm32 | |
parent | 52cb9dfed024ca2df3a1a7f7340e7faa07321db3 (diff) | |
download | gdb-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/lm32')
-rwxr-xr-x | sim/lm32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/lm32/sim-if.c | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 5bb114e..2c35616 100755 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2011-07-05 Mike Frysinger <vapier@gentoo.org> + + * sim-if.c (sim_do_command): Delete. + 2010-02-11 Doug Evans <dje@sebabeach.org> * cpu.h, * decode.c, * model.c, * sem-switch.c, * sem.c: Regenerate. diff --git a/sim/lm32/sim-if.c b/sim/lm32/sim-if.c index 6d3c734..d9bb219 100644 --- a/sim/lm32/sim-if.c +++ b/sim/lm32/sim-if.c @@ -279,12 +279,3 @@ sim_create_inferior (sd, abfd, argv, envp) 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_eprintf (sd, "Unknown command `%s'\n", cmd); -} |