From 47792960031aaa8d1f77f72287b176a38967458e Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Fri, 29 May 1998 01:20:46 +0000 Subject: * 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 --- gdb/gdbtk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/gdbtk.c') 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 -- cgit v1.1