sim: moxie: switch to common sim-command.o
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2015 02:59:47 +0000 (22:59 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 24 Mar 2015 04:42:37 +0000 (00:42 -0400)
sim/moxie/ChangeLog
sim/moxie/Makefile.in
sim/moxie/interp.c

index f509fc0..d7b4e50 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-command.o.
+       * interp.c (sim_do_command): Delete.
+
 2015-03-16  Mike Frysinger  <vapier@gentoo.org>
 
        * config.in, configure: Regenerate.
index 8f1a2aa..76137c8 100644 (file)
@@ -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
index 1126552..5286b66 100644 (file)
@@ -1451,17 +1451,6 @@ sim_create_inferior (sd, prog_bfd, argv, env)
 }
 
 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;
 {