* ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
authorKeith Seitz <keiths@cygnus>
Sun, 24 May 1998 21:05:12 +0000 (21:05 +0000)
committerKeith Seitz <keiths@cygnus>
Sun, 24 May 1998 21:05:12 +0000 (21:05 +0000)
commit21b3bc779ca64a3b1d39886a74f0304c8dc96368
tree9787fccc250279c4770c3406e0bad5a3d6f83ab0
parentaa81c3ca9905bce9ae34908f82cc81961227a512
    * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
that
        we can use this member to track real timeouts.
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
        system timeout of one second. Track the "real" timeout as a series of th
ese
        one second timeouts.
        Call ui_loop_hook to keep the gui alive.

        * top.c: Define new hook for cygwin32, "ui_loop_hook".

        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
        update problems.
gdb/ChangeLog-gdbtk
gdb/gdbtk.c
gdb/ser-unix.c
gdb/top.c