summaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2001-07-06 21:31:04 +0000
committerMichael Snyder <msnyder@specifix.com>2001-07-06 21:31:04 +0000
commit0a7a82630791649a67ce84055fd2dcab1526648d (patch)
treed31bd4831a85b3e7fc066b80f74f61c6d9bf4698 /gdb/procfs.c
parent6fec67d40bcc3cbd53521c605d538db6b44e8ef2 (diff)
downloadgdb-0a7a82630791649a67ce84055fd2dcab1526648d.tar.gz
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.c5
1 files changed, 1 insertions, 4 deletions
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)
{