From: msnyder Date: Fri, 6 Jul 2001 21:31:03 +0000 (+0000) Subject: 2001-07-06 Michael Snyder X-Git-Tag: cygwin_daemon_merge_HEAD~4247 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4df81e2430f471ae9a894435628d4cd01129f8c6;p=pf3gnuchains%2Fpf3gnuchains4x.git 2001-07-06 Michael Snyder * procfs.c (procfs_resume): Silence noisy warning. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f1874156bc..3f969be958 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-07-06 Michael Snyder + + * procfs.c (procfs_resume): Silence noisy warning. + 2001-06-12 Michael Snyder * lin-lwp.c: Prevent thread starvation by using a monte carlo diff --git a/gdb/procfs.c b/gdb/procfs.c index 5a91ed887f..990130c680 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -4535,10 +4535,7 @@ procfs_resume (ptid_t ptid, int step, enum target_signal signo) { /* Resume a specific thread, presumably suppressing the others. */ thread = find_procinfo (PIDGET (ptid), TIDGET (ptid)); - if (thread == NULL) - warning ("procfs: resume can't find thread %ld -- resuming all.", - TIDGET (ptid)); - else + if (thread != NULL) { if (thread->tid != 0) {