diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-07-06 21:31:04 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-07-06 21:31:04 +0000 |
commit | 7de4590493398aa30ddc7734307653700897ec3f (patch) | |
tree | 83e9e74e83f832a793e0b5a34065f67aa086e47c /gdb/procfs.c | |
parent | 002de68b31ef4c555e876fa30d1d154bc60d8e45 (diff) | |
download | gdb-7de4590493398aa30ddc7734307653700897ec3f.zip gdb-7de4590493398aa30ddc7734307653700897ec3f.tar.gz gdb-7de4590493398aa30ddc7734307653700897ec3f.tar.bz2 |
2001-07-06 Michael Snyder <msnyder@redhat.com>
* procfs.c (procfs_resume): Silence noisy warning.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 5a91ed8..990130c 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) { |