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.
This commit is contained in:
Mike Frysinger
2015-03-22 23:16:01 -04:00
parent c4a6006b2e
commit 523ba8f92e
10 changed files with 21 additions and 85 deletions

View File

@@ -4594,15 +4594,6 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
h8_set_mask (sd, oldmask);
}
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)
{
@@ -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;
}