aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-06-06 03:02:51 +0000
committerAndrew Cagney <cagney@redhat.com>1997-06-06 03:02:51 +0000
commitaa02a0b0f20fda6255513c75f0673b240814b66c (patch)
tree9291628354996d24d40cfcbf60ef88fa1b2e361f /gdb/remote-sim.c
parent84e8cd0fcf61d9f41dac420a2c2ab51ada8ab39b (diff)
downloadgdb-aa02a0b0f20fda6255513c75f0673b240814b66c.zip
gdb-aa02a0b0f20fda6255513c75f0673b240814b66c.tar.gz
gdb-aa02a0b0f20fda6255513c75f0673b240814b66c.tar.bz2
sim_kill() isn't used.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 7574cbe..7c21009 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -392,7 +392,8 @@ gdbsim_kill ()
if (sr_get_debug ())
printf_filtered ("gdbsim_kill\n");
- sim_kill (gdbsim_desc); /* close fd's, remove mappings, etc. */
+ /* There is no need to `kill' running simulator - the simulator is
+ not running */
inferior_pid = 0;
}