aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-28 15:11:36 -0700
committerTom Tromey <tromey@redhat.com>2014-01-13 14:25:48 -0700
commit78e5999d375b8ceae5b114b7cfed4b2c20779921 (patch)
tree784e11528001a93569f4e17c234e8dd680f77b45 /gdb/top.c
parentf2052bbe7a66ae99d72b48477289f1fea32bc982 (diff)
downloadgdb-78e5999d375b8ceae5b114b7cfed4b2c20779921.zip
gdb-78e5999d375b8ceae5b114b7cfed4b2c20779921.tar.gz
gdb-78e5999d375b8ceae5b114b7cfed4b2c20779921.tar.bz2
remove use_windows
Nothing actually uses use_windows, not even Insight. So, this patch removes it. 2014-01-13 Tom Tromey <tromey@redhat.com> * defs.h (use_windows): Remove. * gdb.c (main): Update. * main.c (captured_main, gdb_main): Update. * main.h (struct captured_main_args) <use_windows>: Remove. * top.c (use_windows): Remove.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/top.c b/gdb/top.c
index d5ef034..f92043d 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -86,11 +86,6 @@ const char gdbinit[] = GDBINIT;
int inhibit_gdbinit = 0;
-/* If nonzero, and GDB has been configured to be able to use windows,
- attempt to open them upon startup. */
-
-int use_windows = 0;
-
extern char lang_frame_mismatch_warn[]; /* language.c */
/* Flag for whether we want to confirm potentially dangerous