forked from Imagelibrary/binutils-gdb
sim: h8300: convert to common sim_{reason,stop}
This ends up being pretty easy as the h8300 port already supports much of the common engine core.
This commit is contained in:
@@ -1847,14 +1847,6 @@ init_pointers (SIM_DESC sd)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
sim_stop (SIM_DESC sd)
|
||||
{
|
||||
/* FIXME: use a real signal value. */
|
||||
sim_engine_set_run_state (sd, sim_stopped, SIGINT);
|
||||
return 1;
|
||||
}
|
||||
|
||||
#define OBITOP(name, f, s, op) \
|
||||
case O (name, SB): \
|
||||
{ \
|
||||
@@ -4763,12 +4755,6 @@ sim_fetch_register (SIM_DESC sd, int rn, unsigned char *buf, int length)
|
||||
return -1;
|
||||
}
|
||||
|
||||
void
|
||||
sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
|
||||
{
|
||||
sim_engine_get_run_state (sd, reason, sigrc);
|
||||
}
|
||||
|
||||
static void
|
||||
set_simcache_size (SIM_DESC sd, int n)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user