aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-08-26 02:05:18 +0000
committerAndrew Cagney <cagney@redhat.com>1997-08-26 02:05:18 +0000
commit7230ff0faa65304b835fc525e52ddb6e3ba70325 (patch)
tree8f92d4d444c66febefd58f067dedafe13db7a865 /sim/mips
parent1211388f13a7931631a97cbce56ac442a63069ba (diff)
downloadgdb-7230ff0faa65304b835fc525e52ddb6e3ba70325.zip
gdb-7230ff0faa65304b835fc525e52ddb6e3ba70325.tar.gz
gdb-7230ff0faa65304b835fc525e52ddb6e3ba70325.tar.bz2
Flush defunct sim_kill.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c18
2 files changed, 4 insertions, 18 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index d4faa02..b7ee324 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 26 10:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * interp.c (sim_kill): Delete.
+
Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 3d68eb4..0ff5df8 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -999,7 +999,6 @@ sim_close (sd, quitting)
printf("DBG: sim_close: entered (quitting = %d)\n",quitting);
#endif
- /* Cannot assume sim_kill() has been called */
/* "quitting" is non-zero if we cannot hang on errors */
/* Ensure that any resources allocated through the callback
@@ -1454,23 +1453,6 @@ sim_create_inferior (sd, argv,env)
return SIM_RC_OK;
}
-void
-sim_kill (sd)
- SIM_DESC sd;
-{
-#if 1
- /* This routine should be for terminating any existing simulation
- thread. Since we are single-threaded only at the moment, this is
- not an issue. It should *NOT* be used to terminate the
- simulator. */
-#else /* do *NOT* call sim_close */
- sim_close(sd, 1); /* Do not hang on errors */
- /* This would also be the point where any memory mapped areas used
- by the simulator should be released. */
-#endif
- return;
-}
-
typedef enum {e_terminate,e_help,e_setmemsize,e_reset} e_cmds;
static struct t_sim_command {