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/main.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/main.c')
-rw-r--r-- | gdb/main.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -90,10 +90,6 @@ static void print_gdb_help (struct ui_file *); extern int enable_external_editor; extern char *external_editor_command; -#ifdef __CYGWIN__ -#include <sys/cygwin.h> /* for cygwin32_conv_to_posix_path */ -#endif - /* Call command_loop. If it happens to return, pass that through as a non-zero return status. */ @@ -534,21 +530,7 @@ extern int gdbtk_test (char *); *before* all the command line arguments are processed; it sets global parameters, which are independent of what file you are debugging or what directory you are in. */ -#ifdef __CYGWIN__ - { - char *tmp = getenv ("HOME"); - - if (tmp != NULL) - { - homedir = (char *) alloca (PATH_MAX + 1); - cygwin32_conv_to_posix_path (tmp, homedir); - } - else - homedir = NULL; - } -#else homedir = getenv ("HOME"); -#endif if (homedir) { homeinit = (char *) alloca (strlen (homedir) + |