diff options
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r-- | gdb/event-loop.c | 2 |
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; |