OSDN Git Service

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)
commitfdceaa3a9f631395700d1796311a0691d312ced1
tree460414a5a532c7b813d7d8583ccf52b9dabe0414
parent12a866224bab5803e94ceb7fcd1503d19efee52c
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