* linux-low.c (linux_wait_1): Move non-debugging code out of
authorPedro Alves <palves@redhat.com>
Wed, 25 Aug 2010 16:49:04 +0000 (16:49 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 25 Aug 2010 16:49:04 +0000 (16:49 +0000)
`debug_threads' control.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index f138ec6a36c973dabcea0f420dc1fbf09f57c0ed..de34786d2478ae146b0a75f2a4769cae503723b7 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Move non-debugging code out of
+       `debug_threads' control.
+
 2010-08-25  Pedro Alves  <pedro@codesourcery.com>
 
        * linux-low.c (linux_wait_1): Don't set last_status here.
index b92e987d691c6baaa5bdf4210364aa8a6f3146f2..881028554e3f7e776d76602001db4b97ba52c8fd 100644 (file)
@@ -2200,9 +2200,10 @@ Check if we're already there.\n",
              if (debug_threads)
                fprintf (stderr, "dequeued one signal.\n");
            }
-         else if (debug_threads)
+         else
            {
-             fprintf (stderr, "no deferred signals.\n");
+             if (debug_threads)
+               fprintf (stderr, "no deferred signals.\n");
 
              if (stabilizing_threads)
                {