forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user