aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 4ca7a63..bbecaf8 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -3467,6 +3467,9 @@ _initialize_gdbtk ()
/* Tell the rest of the world that Gdbtk is now set up. */
init_ui_hook = gdbtk_init;
+#ifdef __CYGWIN32__
+ (void) FreeConsole ();
+#endif
}
#ifdef __CYGWIN32__
else