aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-16 14:51:22 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-16 14:51:22 +0000
commitdc66ab8ae22c93bb0819aee056d5ea1f782dcd4e (patch)
treec34079dcd9422efd4beeaf4f928874f64b6bd3d9 /gdb/event-loop.c
parentea9c645141e5ec9f6296df8e9979eabeac9ff47f (diff)
downloadgdb-dc66ab8ae22c93bb0819aee056d5ea1f782dcd4e.zip
gdb-dc66ab8ae22c93bb0819aee056d5ea1f782dcd4e.tar.gz
gdb-dc66ab8ae22c93bb0819aee056d5ea1f782dcd4e.tar.bz2
event-loop.c (gdb_wait_for_event): Move statement into if block.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 2c71de3..e28de9a 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -825,9 +825,8 @@ gdb_wait_for_event (void)
file_event_ptr = create_file_event (file_ptr->fd);
async_queue_event (file_event_ptr, TAIL);
}
+ file_ptr->ready_mask = (gdb_notifier.poll_fds + i)->revents;
}
-
- file_ptr->ready_mask = (gdb_notifier.poll_fds + i)->revents;
}
#else
internal_error (__FILE__, __LINE__,