From 3c11dd799b725cbbb72ba5c19b6aebb0a7892508 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 25 Aug 2010 16:49:04 +0000 Subject: [PATCH] * linux-low.c (linux_wait_1): Move non-debugging code out of `debug_threads' control. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-low.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index f138ec6a36..de34786d24 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-08-25 Pedro Alves + + * linux-low.c (linux_wait_1): Move non-debugging code out of + `debug_threads' control. + 2010-08-25 Pedro Alves * linux-low.c (linux_wait_1): Don't set last_status here. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index b92e987d69..881028554e 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) { -- 2.34.1