From 0a7a82630791649a67ce84055fd2dcab1526648d Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 6 Jul 2001 21:31:04 +0000 Subject: 2001-07-06 Michael Snyder * procfs.c (procfs_resume): Silence noisy warning. --- gdb/procfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/procfs.c') diff --git a/gdb/procfs.c b/gdb/procfs.c index 5a91ed887fe..990130c680f 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) { -- cgit v1.2.1