diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-08 16:51:33 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-08 16:51:33 +0000 |
commit | 0f2caa1b950314c634ee4fb54cf3d5e523861bdf (patch) | |
tree | 1af92fd2b78d4eb8e680ac9a4701f2f9f656ed76 /gdb/remote.c | |
parent | 3bebe2f205d1c30429898da05047b656e6796f6a (diff) | |
download | gdb-0f2caa1b950314c634ee4fb54cf3d5e523861bdf.zip gdb-0f2caa1b950314c634ee4fb54cf3d5e523861bdf.tar.gz gdb-0f2caa1b950314c634ee4fb54cf3d5e523861bdf.tar.bz2 |
2010-06-08 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_close): Set inferior_ptid to null_ptid.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index d56dd3a..276e581 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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); |