aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/main.c b/gdb/main.c
index ad4e3b7..f7aa518 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -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) +