From 4c4ca605d5332d4d5b0112932cbf379d82bb7d15 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Feb 2015 04:04:02 -0500 Subject: [PATCH] sim: drop unused sim_kill function This has been deprecated for a long time and no one calls it. --- sim/avr/ChangeLog | 4 ++++ sim/avr/interp.c | 6 ------ sim/common/ChangeLog | 4 ++++ sim/common/run-sim.h | 9 --------- sim/mcore/ChangeLog | 4 ++++ sim/mcore/interp.c | 7 ------- sim/microblaze/ChangeLog | 4 ++++ sim/microblaze/interp.c | 6 ------ sim/moxie/ChangeLog | 4 ++++ sim/moxie/interp.c | 8 -------- 10 files changed, 20 insertions(+), 36 deletions(-) diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 77e0127ee7f..1f81423fac9 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2015-02-19 Mike Frysinger + + * interp.c (sim_kill): Delete unused func. + 2014-08-19 Alan Modra * configure: Regenerate. diff --git a/sim/avr/interp.c b/sim/avr/interp.c index 8ae4887e9d0..0df51557f3c 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -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) { diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 9dfdb8e50ee..265758f5017 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2015-02-19 Mike Frysinger + + * run-sim.h (sim_kill): Delete unused prototype. + 2015-02-13 Chen Gang * gentmap.c: Include "string.h". diff --git a/sim/common/run-sim.h b/sim/common/run-sim.h index 8793472480a..de92c2e15c4 100644 --- a/sim/common/run-sim.h +++ b/sim/common/run-sim.h @@ -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 diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index 7bd3029710a..acb0e21b5c1 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2015-02-19 Mike Frysinger + + * interp.c (sim_kill): Delete unused func. + 2015-02-11 Chen Gang * interp.c: Include "unistd.h". diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 7e2be0d3ff5..e2cafbca191 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -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; diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 2f9fea6a896..a023f924582 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2015-02-19 Mike Frysinger + + * interp.c (sim_kill): Delete unused func. + 2015-02-19 Mike Frysinger * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor". diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c index 4fc45952901..b9349bc070d 100644 --- a/sim/microblaze/interp.c +++ b/sim/microblaze/interp.c @@ -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) { diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 9de956bf37f..3b458ed407f 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2015-02-19 Mike Frysinger + + * interp.c (sim_kill): Delete unused func. + 2014-12-27 Anthony Green * interp.c (EXTRACT_OFFSET): Define. diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 5f449af6c88..6e4a747f50f 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -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; -- 2.30.2