OSDN Git Service

2010-06-08 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Tue, 8 Jun 2010 16:51:33 +0000 (16:51 +0000)
committermsnyder <msnyder>
Tue, 8 Jun 2010 16:51:33 +0000 (16:51 +0000)
* remote.c (remote_close): Set inferior_ptid to null_ptid.

gdb/ChangeLog
gdb/remote.c

index e593274..cc1167d 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-08  Michael Snyder  <msnyder@vmware.com>
+
+       * remote.c (remote_close): Set inferior_ptid to null_ptid.
+
 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * configure.ac <"${have_libpython}" != no>: New workaround of
index d56dd3a..276e581 100644 (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);