sim: drop unused sim_kill function

This has been deprecated for a long time and no one calls it.
This commit is contained in:
Mike Frysinger 2015-02-19 04:04:02 -05:00
parent bb264c6411
commit 4c4ca605d5
10 changed files with 20 additions and 36 deletions

View File

@ -1,3 +1,7 @@
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_kill): Delete unused func.
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.

View File

@ -1824,12 +1824,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd, char **argv, char **env)
return SIM_RC_OK;
}
void
sim_kill (SIM_DESC sd)
{
/* nothing to do */
}
void
sim_do_command (SIM_DESC sd, const char *cmd)
{

View File

@ -1,3 +1,7 @@
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* run-sim.h (sim_kill): Delete unused prototype.
2015-02-13 Chen Gang <gang.chen.5i5j@gmail.com>
* gentmap.c: Include "string.h".

View File

@ -81,13 +81,4 @@ void sim_set_trace (void);
void sim_set_profile_size (int n);
/* Kill the running program.
THIS PROCEDURE IS DEPRECATED.
GDB and NRUN do not use this interface.
This procedure will be replaced as part of the introduction of
multi-cpu simulators. */
void sim_kill (SIM_DESC sd);
#endif

View File

@ -1,3 +1,7 @@
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_kill): Delete unused func.
2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
* interp.c: Include "unistd.h".

View File

@ -2121,13 +2121,6 @@ sim_create_inferior (sd, prog_bfd, argv, env)
return SIM_RC_OK;
}
void
sim_kill (sd)
SIM_DESC sd;
{
/* nothing to do */
}
void
sim_do_command (sd, cmd)
SIM_DESC sd;

View File

@ -1,3 +1,7 @@
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_kill): Delete unused func.
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".

View File

@ -999,12 +999,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd, char **argv, char **env)
return SIM_RC_OK;
}
void
sim_kill (SIM_DESC sd)
{
/* nothing to do */
}
void
sim_do_command (SIM_DESC sd, const char *cmd)
{

View File

@ -1,3 +1,7 @@
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_kill): Delete unused func.
2014-12-27 Anthony Green <green@moxielogic.com>
* interp.c (EXTRACT_OFFSET): Define.

View File

@ -1450,14 +1450,6 @@ sim_create_inferior (sd, prog_bfd, argv, env)
return SIM_RC_OK;
}
void
sim_kill (sd)
SIM_DESC sd;
{
if (tracefile)
fclose(tracefile);
}
void
sim_do_command (sd, cmd)
SIM_DESC sd;