diff options
author | Keith Seitz <keiths@cygnus> | 1998-05-24 21:05:12 +0000 |
---|---|---|
committer | Keith Seitz <keiths@cygnus> | 1998-05-24 21:05:12 +0000 |
commit | 21b3bc779ca64a3b1d39886a74f0304c8dc96368 (patch) | |
tree | 9787fccc250279c4770c3406e0bad5a3d6f83ab0 /gdb/top.c | |
parent | aa81c3ca9905bce9ae34908f82cc81961227a512 (diff) | |
download | gdb-21b3bc779ca64a3b1d39886a74f0304c8dc96368.zip gdb-21b3bc779ca64a3b1d39886a74f0304c8dc96368.tar.gz gdb-21b3bc779ca64a3b1d39886a74f0304c8dc96368.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -379,6 +379,9 @@ static void stop_sig PARAMS ((int)); command file. */ void (*init_ui_hook) PARAMS ((char *argv0)); +#ifdef __CYGWIN32__ +void (*ui_loop_hook) PARAMS ((int)); +#endif /* Called instead of command_loop at top level. Can be invoked via return_to_top_level. */ |