2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 23 Mar 2000 03:45:13 +0000 (03:45 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 23 Mar 2000 03:45:13 +0000 (03:45 +0000)
commit44f457706379d963e1a18c99a2d13c5636dd011d
tree7834bf7ef6930ea1aa8e43d5444b098d645f4dcf
parent593de6a6a5143ca182757080690c01590469e9df
2000-03-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From  Philippe De Muyter  <phdm@macqel.be>

* event-loop.c (sys/types.h): File now included unconditionally.
(use_poll): New variable..
(gdb_notifier): poll- and select-versions merged.
(add_file_handler): If HAVE_POLL, check whether poll is usable,
and reset `use_poll' if not.
(create_file_handler): Select poll- or select-version according to
`use_poll'.
(delete_file_handler, handle_file_event): Likewise.
(gdb_wait_for_event, poll_timers): Likewise.
gdb/ChangeLog
gdb/event-loop.c