sim: drop unused sim_kill function
authorMike Frysinger <vapier@gentoo.org>
Thu, 19 Feb 2015 09:04:02 +0000 (04:04 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 20 Feb 2015 01:42:14 +0000 (20:42 -0500)
This has been deprecated for a long time and no one calls it.

sim/avr/ChangeLog
sim/avr/interp.c
sim/common/ChangeLog
sim/common/run-sim.h
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/microblaze/ChangeLog
sim/microblaze/interp.c
sim/moxie/ChangeLog
sim/moxie/interp.c

index 77e0127..1f81423 100644 (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.
index 8ae4887..0df5155 100644 (file)
@@ -1825,12 +1825,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd, char **argv, char **env)
 }
 
 void
-sim_kill (SIM_DESC sd)
-{
-  /* nothing to do */
-}
-
-void
 sim_do_command (SIM_DESC sd, const char *cmd)
 {
   /* Nothing there yet; it's all an error.  */
index 9dfdb8e..265758f 100644 (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".
index 8793472..de92c2e 100644 (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
index 7bd3029..acb0e21 100644 (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".
index 7e2be0d..e2cafbc 100644 (file)
@@ -2122,13 +2122,6 @@ sim_create_inferior (sd, prog_bfd, argv, env)
 }
 
 void
-sim_kill (sd)
-     SIM_DESC sd;
-{
-  /* nothing to do */
-}
-
-void
 sim_do_command (sd, cmd)
      SIM_DESC sd;
      const char *cmd;
index 2f9fea6..a023f92 100644 (file)
@@ -1,5 +1,9 @@
 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".
 
 2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
index 4fc4595..b9349bc 100644 (file)
@@ -1000,12 +1000,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd, char **argv, char **env)
 }
 
 void
-sim_kill (SIM_DESC sd)
-{
-  /* nothing to do */
-}
-
-void
 sim_do_command (SIM_DESC sd, const char *cmd)
 {
   /* Nothing there yet; it's all an error.  */
index 9de956b..3b458ed 100644 (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.
index 5f449af..6e4a747 100644 (file)
@@ -1451,14 +1451,6 @@ sim_create_inferior (sd, prog_bfd, argv, env)
 }
 
 void
-sim_kill (sd)
-     SIM_DESC sd;
-{
-  if (tracefile)
-    fclose(tracefile);
-}
-
-void
 sim_do_command (sd, cmd)
      SIM_DESC sd;
      const char *cmd;