aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 22:59:47 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 00:42:37 -0400
commitc4a6006b2e1b42124c90ea86597be3df0a177a4e (patch)
tree18bb6c828e89952d3fa6ca63e24a280371187791 /sim
parentc0931f26e3923c75a3edc114175bb88dc11c5497 (diff)
downloadgdb-c4a6006b2e1b42124c90ea86597be3df0a177a4e.zip
gdb-c4a6006b2e1b42124c90ea86597be3df0a177a4e.tar.gz
gdb-c4a6006b2e1b42124c90ea86597be3df0a177a4e.tar.bz2
sim: moxie: switch to common sim-command.o
Diffstat (limited to 'sim')
-rw-r--r--sim/moxie/ChangeLog5
-rw-r--r--sim/moxie/Makefile.in2
-rw-r--r--sim/moxie/interp.c11
3 files changed, 6 insertions, 12 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index f509fc0..d7b4e50 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -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.
diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in
index 8f1a2aa..76137c8 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 1126552..5286b66 100644
--- a/sim/moxie/interp.c
+++ b/sim/moxie/interp.c
@@ -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;
{