From 0f2caa1b950314c634ee4fb54cf3d5e523861bdf Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 8 Jun 2010 16:51:33 +0000 Subject: [PATCH] 2010-06-08 Michael Snyder * remote.c (remote_close): Set inferior_ptid to null_ptid. --- gdb/ChangeLog | 4 ++++ gdb/remote.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e593274aad..cc1167dd69 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-06-08 Michael Snyder + + * remote.c (remote_close): Set inferior_ptid to null_ptid. + 2010-06-08 Jan Kratochvil * configure.ac <"${have_libpython}" != no>: New workaround of diff --git a/gdb/remote.c b/gdb/remote.c index d56dd3a3d4..276e5816cf 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); -- 2.34.1