aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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
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')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-low.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index f138ec6..de34786 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
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.
* server.c (push_event, queue_stop_reply_callback): Assert we're
not pushing a TARGET_WAITKIND_IGNORE event.
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)
{