Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>

* remote.c (remote_wait): Add inferior_pid to thread list only
        if it is not already there.
This commit is contained in:
Michael Snyder 1999-01-12 00:44:30 +00:00
parent 533a502faf
commit 98c5c19292
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
if it is not already there.
1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.

View File

@ -1814,7 +1814,8 @@ Packet: '%s'\n",
if (inferior_pid == MAGIC_NULL_PID)
{
inferior_pid = thread_num;
add_thread (inferior_pid);
if (!in_thread_list (inferior_pid))
add_thread (inferior_pid);
}
return thread_num;
}