2001-07-06 Michael Snyder <msnyder@redhat.com>

* procfs.c (procfs_resume): Silence noisy warning.
This commit is contained in:
Michael Snyder 2001-07-06 21:31:04 +00:00
parent 002de68b31
commit 7de4590493
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2001-07-06 Michael Snyder <msnyder@redhat.com>
* procfs.c (procfs_resume): Silence noisy warning.
2001-06-12 Michael Snyder <msnyder@redhat.com> 2001-06-12 Michael Snyder <msnyder@redhat.com>
* lin-lwp.c: Prevent thread starvation by using a monte carlo * lin-lwp.c: Prevent thread starvation by using a monte carlo

View File

@ -4535,10 +4535,7 @@ procfs_resume (ptid_t ptid, int step, enum target_signal signo)
{ {
/* Resume a specific thread, presumably suppressing the others. */ /* Resume a specific thread, presumably suppressing the others. */
thread = find_procinfo (PIDGET (ptid), TIDGET (ptid)); thread = find_procinfo (PIDGET (ptid), TIDGET (ptid));
if (thread == NULL) if (thread != NULL)
warning ("procfs: resume can't find thread %ld -- resuming all.",
TIDGET (ptid));
else
{ {
if (thread->tid != 0) if (thread->tid != 0)
{ {