From patchwork Mon Feb 24 11:31:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 38285 Received: (qmail 31122 invoked by alias); 24 Feb 2020 11:31:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 31112 invoked by uid 89); 24 Feb 2020 11:31:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Feb 2020 11:31:38 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B3645AEB8; Mon, 24 Feb 2020 11:31:36 +0000 (UTC) Date: Mon, 24 Feb 2020 12:31:34 +0100 From: Tom de Vries To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [committed][gdb/testsuite] Fix layout next/prev/regs help message Message-ID: <20200224113133.GA3517@delia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes Hi, With test-case gdb.gdb/unittest.exp, I run into: ... (gdb) maintenance selftest^M ... Running selftest help_doc_invariants.^M help doc broken invariant: command 'layout next' help doc first line is \ not terminated with a '.' character^M help doc broken invariant: command 'layout prev' help doc first line is \ not terminated with a '.' character^M help doc broken invariant: command 'layout regs' help doc first line is \ not terminated with a '.' character^M Self test failed: self-test failed at help-doc-selftests.c:95^M ... Fix this by adding the missing '.' character. Build and reg-tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Fix layout next/prev/regs help message gdb/ChangeLog: 2020-02-24 Tom de Vries * tui/tui-layout.c (_initialize_tui_layout): Fix help messages for commands layout next/prev/regs. --- gdb/tui/tui-layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index b2c47c018c..9014889a76 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -1044,13 +1044,13 @@ Usage: layout prev | next | LAYOUT-NAME"), &layout_list, "layout ", 0, &cmdlist); add_cmd ("next", class_tui, tui_next_layout_command, - _("Apply the next TUI layout"), + _("Apply the next TUI layout."), &layout_list); add_cmd ("prev", class_tui, tui_prev_layout_command, - _("Apply the previous TUI layout"), + _("Apply the previous TUI layout."), &layout_list); add_cmd ("regs", class_tui, tui_regs_layout_command, - _("Apply the TUI register layout"), + _("Apply the TUI register layout."), &layout_list); add_cmd ("new-layout", class_tui, tui_new_layout_command,