From patchwork Tue Dec 3 06:20:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 36455 Received: (qmail 74725 invoked by alias); 3 Dec 2019 06:20:37 -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 74709 invoked by uid 89); 3 Dec 2019 06:20:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_SOFTFAIL autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: barracuda.ebox.ca Received: from barracuda.ebox.ca (HELO barracuda.ebox.ca) (96.127.255.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Dec 2019 06:20:36 +0000 Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id lyq2IJu3TK7gHAvS (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 03 Dec 2019 01:20:33 -0500 (EST) Received: from simark.lan (unknown [192.222.164.54]) by smtp.ebox.ca (Postfix) with ESMTP id 4B5C1441B21; Tue, 3 Dec 2019 01:20:33 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 2/2] Fix doc of AVR-specific command "info io_registers" Date: Tue, 3 Dec 2019 01:20:31 -0500 Message-Id: <20191203062031.2844278-2-simon.marchi@polymtl.ca> In-Reply-To: <20191203062031.2844278-1-simon.marchi@polymtl.ca> References: <20191203062031.2844278-1-simon.marchi@polymtl.ca> MIME-Version: 1.0 X-IsSubscribed: yes Running the selftests on an all-targets build, I get: Running selftest help_doc_invariants. help doc broken invariant: command 'info io_registers' help doc first line is not terminated with a '.' character Self test failed: self-test failed at /home/simark/src/binutils-gdb/gdb/unittests/help-doc-selftests.c:95 Add a period at the end of the doc of that command, and make it a bit nicer in general. gdb/ChangeLog: * avr-tdep.c (_initialize_avr_tdep): Improve help of command "info io_registers". --- gdb/avr-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 6d11ee1618cc..61a0a5dd52ea 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1629,5 +1629,5 @@ _initialize_avr_tdep (void) io_registers' to signify it is not available on other platforms. */ add_info ("io_registers", avr_io_reg_read_command, - _("query remote avr target for io space register values")); + _("Query remote AVR target for I/O space register values.")); }