aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-08-25 16:49:04 +0000
committerPedro Alves <palves@redhat.com>2010-08-25 16:49:04 +0000
commit3c11dd799b725cbbb72ba5c19b6aebb0a7892508 (patch)
tree25540f98c9d8b7ad9e23cb820dc405d868aea993 /gdb/gdbserver/linux-low.c
parentd20a8ad9c0273c0dee3a9aa62c9e4b572d930cfc (diff)
downloadgdb-3c11dd799b725cbbb72ba5c19b6aebb0a7892508.zip
gdb-3c11dd799b725cbbb72ba5c19b6aebb0a7892508.tar.gz
gdb-3c11dd799b725cbbb72ba5c19b6aebb0a7892508.tar.bz2
* linux-low.c (linux_wait_1): Move non-debugging code out of
`debug_threads' control.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index b92e987..8810285 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -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)
{