aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-10-26 22:45:13 +0000
committerStu Grossman <grossman@cygnus>1994-10-26 22:45:13 +0000
commitc51975113da1ac36f42768dbbeb6bc90545be5f8 (patch)
tree55ca50afcc4856b85c17907f8463b4b6cddca24b /gdb/gdbtk.c
parent62fad389f2133d5d50dfdf78552cc1b08b30af92 (diff)
downloadgdb-c51975113da1ac36f42768dbbeb6bc90545be5f8.zip
gdb-c51975113da1ac36f42768dbbeb6bc90545be5f8.tar.gz
gdb-c51975113da1ac36f42768dbbeb6bc90545be5f8.tar.bz2
* defs.h, gdbtk.c, main.c, top.c: Change sense and name of
no_windows variable. Now called use_windows, and defaults to off (for compatibility).
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index e96ea19..e93471e 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -551,10 +551,10 @@ gdbtk_init ()
void
_initialize_gdbtk ()
{
- if (no_windows)
- return;
-
- /* Tell the rest of the world that Gdbtk is now set up. */
+ if (use_windows)
+ {
+ /* Tell the rest of the world that Gdbtk is now set up. */
- init_ui_hook = gdbtk_init;
+ init_ui_hook = gdbtk_init;
+ }
}