public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix unittest.exp failure due to 'set debuginfod' addition
@ 2021-10-31 17:35 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2021-10-31 17:35 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a8f1f474469bd1a35435deaf5fb0a2ce038071d

commit 2a8f1f474469bd1a35435deaf5fb0a2ce038071d
Author: Tom Tromey <tom@tromey.com>
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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-31 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-31 17:35 [binutils-gdb] Fix unittest.exp failure due to 'set debuginfod' addition Tom Tromey

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).