diff options
author | Pedro Alves <palves@redhat.com> | 2010-08-25 16:49:04 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-08-25 16:49:04 +0000 |
commit | 3c11dd799b725cbbb72ba5c19b6aebb0a7892508 (patch) | |
tree | 25540f98c9d8b7ad9e23cb820dc405d868aea993 /gdb/gdbserver | |
parent | d20a8ad9c0273c0dee3a9aa62c9e4b572d930cfc (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 5 |
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) { |