From c4a6006b2e1b42124c90ea86597be3df0a177a4e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 22 Mar 2015 22:59:47 -0400 Subject: [PATCH] sim: moxie: switch to common sim-command.o --- sim/moxie/ChangeLog | 5 +++++ sim/moxie/Makefile.in | 2 +- sim/moxie/interp.c | 11 ----------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index f509fc019e5..d7b4e5040e1 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Mike Frysinger + + * Makefile.in (SIM_OBJS): Add sim-command.o. + * interp.c (sim_do_command): Delete. + 2015-03-16 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index 8f1a2aa656a..76137c83072 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -26,7 +26,7 @@ SIM_EXTRA_CFLAGS = -DSIM_USE_DEPRECATED_RUN_FRONTEND SIM_OBJS = interp.o sim-load.o sim-io.o sim-config.o sim-utils.o \ sim-options.o sim-module.o sim-core.o sim-endian.o sim-trace.o \ sim-engine.o sim-fpu.o sim-bits.o sim-profile.o sim-events.o \ -sim-memopt.o +sim-memopt.o sim-command.o SIM_EXTRA_LIBS = -lm -lz SIM_EXTRA_INSTALL = install-dtb diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 1126552cc14..5286b666a30 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -1450,17 +1450,6 @@ sim_create_inferior (sd, prog_bfd, argv, env) return SIM_RC_OK; } -void -sim_do_command (sd, cmd) - SIM_DESC sd; - const char *cmd; -{ - if (sim_args_command (sd, cmd) != SIM_RC_OK) - sim_io_printf (sd, - "Error: \"%s\" is not a valid moxie simulator command.\n", - cmd); -} - void sim_set_callbacks (ptr) host_callback * ptr; -- 2.30.2