2000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 20 Mar 2000 19:59:38 +0000 (19:59 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 20 Mar 2000 19:59:38 +0000 (19:59 +0000)
commit58a2c44a26e76806acee962f48bdc4863e97ac75
treee6491af77f286bea09559ed51fb76b447f9bbd28
parentcbb1a37c340567d5ab5afcf846036a269dce5755
2000-03-04  Eli Zaretskii  <eliz@is.elta.co.il>

* event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
Print an error at compile time if we are to use select, but FD_SET
is not available.
(SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
if HAVE_POLL is not defined and NO_FD_SET *is* defined.
(create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
(delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
(gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
instead of using memcpy and memset.  Use FD_ISSET.

* config/i386/xm-go32.h (fd_mask): Remove typedef.
gdb/ChangeLog
gdb/config/i386/xm-go32.h
gdb/event-loop.c