From: Mike Frysinger Date: Thu, 19 Feb 2015 09:04:02 +0000 (-0500) Subject: sim: drop unused sim_kill function X-Git-Tag: gdb-7.10-release~1563 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c4ca605d5332d4d5b0112932cbf379d82bb7d15;p=external%2Fbinutils.git sim: drop unused sim_kill function This has been deprecated for a long time and no one calls it. --- diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 77e0127..1f81423 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 8ae4887..0df5155 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -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. */ diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 9dfdb8e..265758f 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 8793472..de92c2e 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 7bd3029..acb0e21 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 7e2be0d..e2cafbc 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -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; diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 2f9fea6..a023f92 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,5 +1,9 @@ 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". 2015-02-02 Chen Gang diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c index 4fc4595..b9349bc 100644 --- a/sim/microblaze/interp.c +++ b/sim/microblaze/interp.c @@ -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. */ diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 9de956b..3b458ed 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 5f449af..6e4a747 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -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;