diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2001-06-10 16:25:51 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2001-06-10 16:25:51 +0000 |
commit | 0b6a968ee62c0e94758b5996f10509741731ec10 (patch) | |
tree | aa9dbf9dbbbcc91bf5c727772567e2f805f844b9 /gdb/utils.c | |
parent | 5dd0794dca6376164c29977156282afc59b16388 (diff) | |
download | gdb-0b6a968ee62c0e94758b5996f10509741731ec10.zip gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.gz gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.bz2 |
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
* values.c (unpack_double): Remove obsolete check for _MSC_VER.
* defs.h: Ditto.
* m32r-rom.c: Ditto.
* p-exp.y: Ditto.
* ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster
compilation.
(get_ds_base): Remove _MSC_VER version of this function.
* nindy-share/ttyflush.c: Ditto. X
* rdi-share/host.h: Ditto. X
* ser-go32.c (dos_readchar): Remove call to obsolete function.
* remote-sim.c (gdb_os_poll_quit): Ditto.
* remote-e7000.c (expect): Remove obsolete #if 0'ed code.
* main.c (captured_main): Eliminate special Cygwin checks.
* ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 1e9c44f..294ad42 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -868,35 +868,6 @@ quit (void) return_to_top_level (RETURN_QUIT); } - -#if defined(_MSC_VER) /* should test for wingdb instead? */ - -/* - * Windows translates all keyboard and mouse events - * into a message which is appended to the message - * queue for the process. - */ - -void -notice_quit (void) -{ - int k = win32pollquit (); - if (k == 1) - quit_flag = 1; - else if (k == 2) - immediate_quit = 1; -} - -#else /* !defined(_MSC_VER) */ - -void -notice_quit (void) -{ - /* Done by signals */ -} - -#endif /* !defined(_MSC_VER) */ - /* Control C comes here */ void request_quit (int signo) |