2010-06-08 Michael Snyder <msnyder@vmware.com>

* remote.c (remote_close): Set inferior_ptid to null_ptid.
This commit is contained in:
Michael Snyder
2010-06-08 16:51:33 +00:00
parent 3bebe2f205
commit 0f2caa1b95
2 changed files with 5 additions and 0 deletions

View File

@ -2811,6 +2811,7 @@ remote_close (int quitting)
/* We don't have a connection to the remote stub anymore. Get rid
of all the inferiors and their threads we were controlling. */
discard_all_inferiors ();
inferior_ptid = null_ptid;
/* We're no longer interested in any of these events. */
discard_pending_stop_replies (-1);