aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-05-29 01:20:46 +0000
committerKeith Seitz <keiths@cygnus>1998-05-29 01:20:46 +0000
commit47792960031aaa8d1f77f72287b176a38967458e (patch)
tree885f598fd8dbf3dd0fea7ec45ec4e45eb4e15289 /gdb/gdbtk.c
parent5dccb8b0f4329bf5c6ea198ad763c56c365d124f (diff)
downloadfsf-binutils-gdb-47792960031aaa8d1f77f72287b176a38967458e.zip
fsf-binutils-gdb-47792960031aaa8d1f77f72287b176a38967458e.tar.gz
fsf-binutils-gdb-47792960031aaa8d1f77f72287b176a38967458e.tar.bz2
* main.c (main): Check for NULL from getenv on CYGWIN32.
* gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from Chris Faylor (cgf@cygnus.com). * configure.in: Link cygwin32 with subsystem console. * configure: Regenerated
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