From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id F061B3857413; Sun, 31 Oct 2021 17:35:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F061B3857413 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Fix unittest.exp failure due to 'set debuginfod' addition X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: c26c6bc0a53a179084b77899e2cd70d88aa5a224 X-Git-Newrev: 2a8f1f474469bd1a35435deaf5fb0a2ce038071d Message-Id: <20211031173516.F061B3857413@sourceware.org> Date: Sun, 31 Oct 2021 17:35:16 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2021 17:35:17 -0000 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a8f1f474469bd1a35435deaf5fb0a2ce038071d commit 2a8f1f474469bd1a35435deaf5fb0a2ce038071d Author: Tom Tromey Date: Sun Oct 31 11:34:06 2021 -0600 Fix unittest.exp failure due to 'set debuginfod' addition The 'set debuginfod' change caused a regression in unittest.exp: Running selftest help_doc_invariants. help doc broken invariant: command 'info set debuginfod' help doc first line is not terminated with a '.' character help doc broken invariant: command 'set debuginfod' help doc first line is not terminated with a '.' character help doc broken invariant: command 'show debuginfod' help doc first line is not terminated with a '.' character Self test failed: self-test failed at ../../binutils-gdb/gdb/unittests/command-def-selftests.c:100 This patch fixes the problem. I'm checking it in. Diff: --- gdb/debuginfod-support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/debuginfod-support.c b/gdb/debuginfod-support.c index 097977cd45c..a1269772b2e 100644 --- a/gdb/debuginfod-support.c +++ b/gdb/debuginfod-support.c @@ -406,8 +406,8 @@ _initialize_debuginfod () { /* set/show debuginfod */ add_setshow_prefix_cmd ("debuginfod", class_run, - _("Set debuginfod options"), - _("Show debuginfod options"), + _("Set debuginfod options."), + _("Show debuginfod options."), &set_debuginfod_prefix_list, &show_debuginfod_prefix_list, &setlist, &showlist);