OSDN Git Service

2001-07-06 Michael Snyder <msnyder@redhat.com>
authormsnyder <msnyder>
Fri, 6 Jul 2001 21:31:03 +0000 (21:31 +0000)
committermsnyder <msnyder>
Fri, 6 Jul 2001 21:31:03 +0000 (21:31 +0000)
* procfs.c (procfs_resume): Silence noisy warning.

gdb/ChangeLog
gdb/procfs.c

index f187415..3f969be 100644 (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>
 
        * lin-lwp.c: Prevent thread starvation by using a monte carlo 
index 5a91ed8..990130c 100644 (file)
@@ -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)
            {