*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / main.c
index ad4e3b7f5982d5faecdee1e44a664a2d5f23ce40..f7aa5188f39eae71af441108199ab6b1d99f1400 100644 (file)
@@ -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) +
This page took 0.023351 seconds and 4 git commands to generate.