2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>

* event-loop.c (handle_file_event): Run through indent.
This commit is contained in:
Elena Zannoni 2000-03-23 03:48:13 +00:00
parent 44f4577063
commit 7e5cd2dee0
2 changed files with 27 additions and 23 deletions

View File

@ -1,3 +1,7 @@
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* event-loop.c (handle_file_event): Run through indent.
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Philippe De Muyter <phdm@macqel.be>

View File

@ -472,7 +472,7 @@ add_file_handler (int fd, handler_func * proc, gdb_client_data client_data)
use select. This can happen on systems like
m68k-motorola-sys, `poll' cannot be used to wait for `stdin'.
On m68k-motorola-sysv, tty's are not stream-based and not
`poll'able.*/
`poll'able. */
fds.fd = fd;
fds.events = POLLIN;
if (poll (&fds, 1, 0) == 1 && (fds.revents & POLLNVAL))
@ -789,9 +789,9 @@ gdb_wait_for_event (void)
gdb_notifier.ready_masks[1] = gdb_notifier.check_masks[1];
gdb_notifier.ready_masks[2] = gdb_notifier.check_masks[2];
num_found = select (gdb_notifier.num_fds,
& gdb_notifier.ready_masks[0],
& gdb_notifier.ready_masks[1],
& gdb_notifier.ready_masks[2],
&gdb_notifier.ready_masks[0],
&gdb_notifier.ready_masks[1],
&gdb_notifier.ready_masks[2],
gdb_notifier.timeout_valid
? &gdb_notifier.select_timeout : NULL);