public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Fix "auxiliary" typo Date: Tue, 25 Jun 2019 14:03:00 -0000 [thread overview] Message-ID: <20190625140318.26473.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6658b1bf6c2d8d9383826bdfd4068b77d38b3b94 commit 6658b1bf6c2d8d9383826bdfd4068b77d38b3b94 Author: Tom Tromey <tom@tromey.com> Date: Sun Jun 23 08:27:55 2019 -0600 Fix "auxiliary" typo 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. Diff: --- gdb/ChangeLog | 11 +++++++++++ gdb/tui/tui-data.c | 2 +- gdb/tui/tui-data.h | 2 +- gdb/tui/tui-layout.c | 2 +- gdb/tui/tui-win.c | 4 ++-- gdb/tui/tui-wingeneral.c | 2 +- gdb/tui/tui.h | 2 +- 7 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d6848f0..8519e46 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 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. * tui/tui-windata.c (tui_data_window::first_data_item_displayed) (tui_delete_data_content_windows, tui_display_all_data) diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index 7cf7d7f..881e5d5 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -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); } diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 2e13f30..8ec5ddf 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -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. */ diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 61be48b..9fffba7 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -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; } diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 40b9627..dac3996 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -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); } diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 8f64e73..13063ae 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -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; } diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index b3321de..69ad60c 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -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
reply other threads:[~2019-06-25 14:03 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190625140318.26473.qmail@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).