forked from Imagelibrary/binutils-gdb
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* event-loop.c (handle_file_event): Run through indent.
This commit is contained in:
@@ -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>
|
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
From Philippe De Muyter <phdm@macqel.be>
|
From Philippe De Muyter <phdm@macqel.be>
|
||||||
|
|||||||
@@ -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
|
use select. This can happen on systems like
|
||||||
m68k-motorola-sys, `poll' cannot be used to wait for `stdin'.
|
m68k-motorola-sys, `poll' cannot be used to wait for `stdin'.
|
||||||
On m68k-motorola-sysv, tty's are not stream-based and not
|
On m68k-motorola-sysv, tty's are not stream-based and not
|
||||||
`poll'able.*/
|
`poll'able. */
|
||||||
fds.fd = fd;
|
fds.fd = fd;
|
||||||
fds.events = POLLIN;
|
fds.events = POLLIN;
|
||||||
if (poll (&fds, 1, 0) == 1 && (fds.revents & POLLNVAL))
|
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[1] = gdb_notifier.check_masks[1];
|
||||||
gdb_notifier.ready_masks[2] = gdb_notifier.check_masks[2];
|
gdb_notifier.ready_masks[2] = gdb_notifier.check_masks[2];
|
||||||
num_found = select (gdb_notifier.num_fds,
|
num_found = select (gdb_notifier.num_fds,
|
||||||
& gdb_notifier.ready_masks[0],
|
&gdb_notifier.ready_masks[0],
|
||||||
& gdb_notifier.ready_masks[1],
|
&gdb_notifier.ready_masks[1],
|
||||||
& gdb_notifier.ready_masks[2],
|
&gdb_notifier.ready_masks[2],
|
||||||
gdb_notifier.timeout_valid
|
gdb_notifier.timeout_valid
|
||||||
? &gdb_notifier.select_timeout : NULL);
|
? &gdb_notifier.select_timeout : NULL);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user