From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60729 invoked by alias); 24 Jun 2019 18:49:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 60424 invoked by uid 89); 24 Jun 2019 18:48:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=spelled X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.198.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Jun 2019 18:48:55 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 617E934C5 for ; Mon, 24 Jun 2019 13:48:54 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id fU1OhYuXu4FKpfU1OhpMGZ; Mon, 24 Jun 2019 13:48:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZcO/m0EhTjZeqEKo/i5mpgwuERebqwA+iWxxi1WYSC4=; b=tKLEq3NOSmt5RFncZGCkfFQD6f knHs7RRUQsJSOHj6RnC51EcDfyANoyHTkvVj+NDJ0zBR+q/C0i2tMIQh6XQmZfBkssHHzKV0oPl2T rQ4BoDIk9B1Kzt7/kFkXpL+by; Received: from 75-166-12-78.hlrn.qwest.net ([75.166.12.78]:56746 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hfU1O-003qDK-6M; Mon, 24 Jun 2019 13:48:54 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 59/66] Fix "auxiliary" typo Date: Mon, 24 Jun 2019 18:49:00 -0000 Message-Id: <20190624184841.3492-10-tom@tromey.com> In-Reply-To: <20190624184841.3492-1-tom@tromey.com> References: <20190623224329.16060-1-tom@tromey.com> <20190624184841.3492-1-tom@tromey.com> X-SW-Source: 2019-06/txt/msg00541.txt.bz2 The TUI has a function called tui_win_is_auxillary, but the word should actually be spelled "auxiliary". This fixes the typo. 2019-06-23 Tom Tromey * 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 | 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/tui/tui-data.c b/gdb/tui/tui-data.c index b957043a60f..34d9272b413 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 112fbf4664b..2fe8c72af01 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 61be48b877f..9fffba779a9 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 468e245351c..3837397d9e7 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 8f64e73e284..13063ae9356 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 b3321de9fdc..69ad60c98bf 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 -- 2.17.2