aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 23:16:01 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 00:48:40 -0400
commit523ba8f92e3ff4c49f65b582c89b4563b1b665ad (patch)
treefc9297b3e65fa57d9718c1f095920c45fe6abb0b /sim/h8300
parentc4a6006b2e1b42124c90ea86597be3df0a177a4e (diff)
downloadgdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.zip
gdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.tar.gz
gdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.tar.bz2
sim: erc32/h8300/m68hc11: trim unused functions
These funcs are only used with the old run.o, and these sims use nrun.o, so drop these stub funcs.
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog5
-rw-r--r--sim/h8300/compile.c23
-rw-r--r--sim/h8300/tconfig.h6
3 files changed, 5 insertions, 29 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 0ef2344..7fff0bd 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
+ * tconfig.h (SIM_HAVE_PROFILE): Delete.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 4deba82..2574168 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -4595,15 +4595,6 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
}
int
-sim_trace (SIM_DESC sd)
-{
- /* FIXME: Unfinished. */
- (*sim_callback->printf_filtered) (sim_callback,
- "sim_trace: trace not supported.\n");
- return 1; /* Done. */
-}
-
-int
sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size)
{
int i;
@@ -4790,14 +4781,6 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
sim_engine_get_run_state (sd, reason, sigrc);
}
-/* FIXME: Rename to sim_set_mem_size. */
-
-void
-sim_size (int n)
-{
- /* Memory size is fixed. */
-}
-
static void
set_simcache_size (SIM_DESC sd, int n)
{
@@ -5094,9 +5077,3 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)
return SIM_RC_OK;
}
-
-void
-sim_set_callbacks (struct host_callback_struct *ptr)
-{
- sim_callback = ptr;
-}
diff --git a/sim/h8300/tconfig.h b/sim/h8300/tconfig.h
index d9599db..5a683f0 100644
--- a/sim/h8300/tconfig.h
+++ b/sim/h8300/tconfig.h
@@ -1,11 +1,5 @@
/* h8300 target configuration file. */
-/* Define this if the simulator supports profiling.
- See the mips simulator for an example.
- This enables the `-p foo' and `-s bar' options.
- The target is required to provide sim_set_profile{,_size}. */
-/* #define SIM_HAVE_PROFILE */
-
/* Define this if the simulator uses an instruction cache.
See the h8/300 simulator for an example.
This enables the `-c size' option to set the size of the cache.