* top.c (use_windows): Clarify comments.
authorStan Shebs <shebs@codesourcery.com>
Sat, 28 Jan 1995 01:38:39 +0000 (01:38 +0000)
committerStan Shebs <shebs@codesourcery.com>
Sat, 28 Jan 1995 01:38:39 +0000 (01:38 +0000)
gdb/ChangeLog
gdb/top.c

index 14958473bd6ff7abf150f4f6ca46f98e1c4e0330..fc1ded1ffb3854ac79838f821110bce3ad4d39a2 100644 (file)
@@ -1,5 +1,7 @@
 Fri Jan 27 17:08:06 1995  Stan Shebs  <shebs@andros.cygnus.com>
 
+       * top.c (use_windows): Clarify comments.
+
        * convex-tdep.c (xfer_core_file): Comment out.
        * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
        * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
index d37762c86ef45f71cbc2b1117922020f4a4f79cf..d89d2cf6a80e9c8f91edcfef50c0706c8044e8f7 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -162,11 +162,13 @@ static void source_cleanup PARAMS ((FILE *));
 #define        GDBINIT_FILENAME        ".gdbinit"
 #endif
 char gdbinit[] = GDBINIT_FILENAME;
+
 int inhibit_gdbinit = 0;
 
-/* Disable windows if non-zero */
+/* If nonzero, and GDB has been configured to be able to use windows,
+   attempt to open them upon startup.  */
 
-int use_windows = 1;           /* Defaults to on for now */
+int use_windows = 1;
 
 /* Version number of GDB, as a string.  */
 
@@ -186,9 +188,7 @@ extern char lang_frame_mismatch_warn[];             /* language.c */
 
 int caution = 1;                       /* Default is yes, sigh. */
 
-/*
- * Define all cmd_list_element's
- */
+/* Define all cmd_list_elements.  */
 
 /* Chain containing all defined commands.  */