aboutsummaryrefslogtreecommitdiff
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
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).
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/defs.h2
-rw-r--r--gdb/gdbtk.c10
-rw-r--r--gdb/top.c2
4 files changed, 13 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1245a7a..c2ebe96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com)
+
+ * 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).
+
Wed Oct 26 12:20:53 1994 Jim Kingdon <kingdon@cygnus.com>
* coffread.c (coff_symtab_read): If we get the address from
diff --git a/gdb/defs.h b/gdb/defs.h
index 1bba0bd..a0721ef 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -886,6 +886,6 @@ extern void (*call_command_hook) PARAMS ((struct cmd_list_element *c,
/* Inhibit window interface if non-zero. */
-extern int no_windows;
+extern int use_windows;
#endif /* !defined (DEFS_H) */
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;
+ }
}
diff --git a/gdb/top.c b/gdb/top.c
index 9679f58..3e1df9b 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -159,7 +159,7 @@ int inhibit_gdbinit = 0;
/* Disable windows if non-zero */
-int no_windows = 0;
+int use_windows = 0; /* Defaults to off for now */
/* Version number of GDB, as a string. */