Flush defunct sim_kill.

This commit is contained in:
Andrew Cagney
1997-08-26 02:05:18 +00:00
parent 1211388f13
commit 7230ff0faa
24 changed files with 48 additions and 92 deletions

View File

@@ -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 {