* remote-sim.c (gdbsim_open_p): New static local.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 30 Dec 1996 08:34:35 +0000 (08:34 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 30 Dec 1996 08:34:35 +0000 (08:34 +0000)
commitd9ad8adf035242e612ebbb7adbfcd375b9e71d22
tree103d47c9a201f29b79f5ea9163bd3ebfde4ce7ad
parenta79d0193ecec8fb0032d2511233cd04ee805b326
* remote-sim.c (gdbsim_open_p): New static local.
(gdbsim_open): Call unpush_target if sim open.  Set gdbsim_open_p.
(gdbsim_close): Only call sim_close if sim open.  Reset gdbsim_open_p.
gdb/ChangeLog
gdb/remote-sim.c