aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-14 18:35:11 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-14 18:35:11 +0000
commitd7f9d729727b2b85ae3228785762f4d2e6a8742f (patch)
tree9ea7ff6c431b2a80d33908b5cb436e6545ccbcff /gdb/event-loop.c
parent9a619af0d3152e742fbd290baeae96a32f0abf04 (diff)
downloadgdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.zip
gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.gz
gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.bz2
2010-05-14 Michael Snyder <msnyder@vmware.com>
* elfread.c: White space. * environ.c: White space. * eval.c: White space. * event-loop.c: White space. * event-top.c: White space. * exceptions.c: White space. * exec.c: White space. * expprint.c: White space.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 735d0f6..f1eba52 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -858,8 +858,8 @@ gdb_wait_for_event (int block)
else
{
struct timeval select_timeout;
-
struct timeval *timeout_p;
+
if (block)
timeout_p = gdb_notifier.timeout_valid
? &gdb_notifier.select_timeout : NULL;