clear the init_ui_hook so that gdb will properly initialize
the cli.
+2001-11-20 Keith Seitz <keiths@redhat.com>
+
+ * generic/gdbtk.c (gdbtk_init): If DISPLAY is not set on Unix,
+ clear the init_ui_hook so that gdb will properly initialize
+ the cli.
+
2001-11-08 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_eval): Add an optional
format argument.
#ifndef _WIN32
if (getenv ("DISPLAY") == NULL)
- return;
+ {
+ init_ui_hook = NULL;
+ return;
+ }
#endif
old_chain = make_cleanup (cleanup_init, 0);