Fix "auxiliary" typo
authorTom Tromey <tom@tromey.com>
Sun, 23 Jun 2019 14:27:55 +0000 (08:27 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:49 +0000 (07:48 -0600)
The TUI has a function called tui_win_is_auxillary, but the word
should actually be spelled "auxiliary".  This fixes the typo.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.c (tui_gen_win_info::make_visible): Update.
* tui/tui-win.c (make_invisible_and_set_new_height): Update.
* tui/tui-layout.c (init_and_make_win): Update.
* tui/tui.h (enum tui_win_type): Update.
* tui/tui-data.h (tui_win_is_auxiliary): Rename from
tui_win_is_auxillary.
* tui/tui-data.c (tui_win_is_auxiliary): Rename from
tui_win_is_auxillary.

gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-win.c
gdb/tui/tui-wingeneral.c
gdb/tui/tui.h

index d6848f0455371478713c48779aaac00589bfc067..8519e46625ae3c5fa555282d372718d4b5257fc1 100644 (file)
@@ -1,3 +1,14 @@
+2019-06-25  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (tui_gen_win_info::make_visible): Update.
+       * tui/tui-win.c (make_invisible_and_set_new_height): Update.
+       * tui/tui-layout.c (init_and_make_win): Update.
+       * tui/tui.h (enum tui_win_type): Update.
+       * tui/tui-data.h (tui_win_is_auxiliary): Rename from
+       tui_win_is_auxillary.
+       * tui/tui-data.c (tui_win_is_auxiliary): Rename from
+       tui_win_is_auxillary.
+
 2019-06-25  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-wingeneral.c (tui_data_window::refresh_window): Update.
index 7cf7d7f22166d11f6aeeafd0747990b594b145d6..881e5d592a60dc09615a74c7c153eda724fd69b5 100644 (file)
@@ -63,7 +63,7 @@ static void free_content_elements (tui_win_content,
 **********************************/
 
 int
-tui_win_is_auxillary (enum tui_win_type win_type)
+tui_win_is_auxiliary (enum tui_win_type win_type)
 {
   return (win_type > MAX_MAJOR_WINDOWS);
 }
index 2e13f306e769cec80503819e1b63fcbc358dcf6d..8ec5ddfc0ab818d77c7b389715758d07a32690bb 100644 (file)
@@ -538,7 +538,7 @@ protected:
   void do_make_visible_with_new_height () override;
 };
 
-extern int tui_win_is_auxillary (enum tui_win_type win_type);
+extern int tui_win_is_auxiliary (enum tui_win_type win_type);
 
 
 /* Global Data.  */
index 61be48b877f44f7b39b59d61eb11e0e44e96a45d..9fffba779a9a1c79e012641a82c094a3f6fe742c 100644 (file)
@@ -816,7 +816,7 @@ init_and_make_win (tui_gen_win_info *win_info,
          break;
 
        default:
-         gdb_assert (tui_win_is_auxillary (win_type));
+         gdb_assert (tui_win_is_auxiliary (win_type));
          win_info = new tui_gen_win_info (win_type);
          break;
        }
index 40b962739ce9b99fe4dc48372ebf4b0bfc2356e2..dac3996ce5b3b0567c2188d59a89d62b6d107391 100644 (file)
@@ -1274,7 +1274,7 @@ tui_data_window::set_new_height (int height)
     }
 }
 
-/* Function make the target window (and auxillary windows associated
+/* Function make the target window (and auxiliary windows associated
    with the targer) invisible, and set the new height and
    location.  */
 static void
@@ -1290,7 +1290,7 @@ make_invisible_and_set_new_height (struct tui_win_info *win_info,
   if (win_info != TUI_CMD_WIN)
     win_info->viewport_height--;
 
-  /* Now deal with the auxillary windows associated with win_info.  */
+  /* Now deal with the auxiliary windows associated with win_info.  */
   win_info->set_new_height (height);
 }
 
index 8f64e73e2842f28ec8c67367c63b9f0d01b8b546..13063ae9356f0fde8e7fac60fe2b1e1df7172f81 100644 (file)
@@ -172,7 +172,7 @@ tui_gen_win_info::make_visible (bool visible)
     {
       if (!is_visible)
        {
-         tui_make_window (this, (tui_win_is_auxillary (type)
+         tui_make_window (this, (tui_win_is_auxiliary (type)
                                  ? DONT_BOX_WINDOW : BOX_WINDOW));
          is_visible = true;
        }
index b3321de9fdc2d3c4064a1fd94791c27084758d3f..69ad60c98bf5140bdd803ac41612cd45408be0a2 100644 (file)
@@ -42,7 +42,7 @@ enum tui_win_type
   CMD_WIN,
   /* This must ALWAYS be AFTER the major windows last.  */
   MAX_MAJOR_WINDOWS,
-  /* Auxillary windows.  */
+  /* Auxiliary windows.  */
   LOCATOR_WIN,
   EXEC_INFO_WIN,
   DATA_ITEM_WIN