From: Mike Frysinger Date: Mon, 23 Mar 2015 02:59:47 +0000 (-0400) Subject: sim: moxie: switch to common sim-command.o X-Git-Tag: gdb-7.10-branchpoint~1070 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a6006b2e1b42124c90ea86597be3df0a177a4e;p=thirdparty%2Fbinutils-gdb.git sim: moxie: switch to common sim-command.o --- 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;