[gdb] Fix set/show style metadata help text
authorTom de Vries <tdevries@suse.de>
Thu, 3 Oct 2019 08:15:39 +0000 (10:15 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 3 Oct 2019 08:15:39 +0000 (10:15 +0200)
There's a recent regression:
...
FAIL: gdb.gdb/unittest.exp: maintenance selftest
...

In more detail:
...
Running selftest help_doc_invariants.^M
help doc broken invariant: command 'set style metadata' help doc first line \
  is not terminated with a '.' character^M
help doc broken invariant: command 'show style metadata' help doc first line \
  is not terminated with a '.' character^M
Self test failed: self-test failed at gdb/unittests/help-doc-selftests.c:95^M
...

Fix this by adding a '.' at the end of the first line of the help text for
set/show style metadata.

Tested on x86_64-linux.

gdb/ChangeLog:

2019-10-03  Tom de Vries  <tdevries@suse.de>

* cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of
the first line of the help text for set/show style metadata.

gdb/ChangeLog
gdb/cli/cli-style.c

index 13a1e46ca251c722190011513d705fcba15829bd..0dabd9e91ca1af0ceae50cbb1489f6b2dad260bc 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-03  Tom de Vries  <tdevries@suse.de>
+
+       * cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of
+       the first line of the help text for set/show style metadata.
+
 2019-10-02  Tom Tromey  <tromey@adacore.com>
 
        * Makefile.in (COMMON_SFILES): Add common-inferior.c.
index a0c5c0a950d1e31a4d47eb798da4ed339e11203a..5535d67408384f2a29fe9e53f64ba949919cd473 100644 (file)
@@ -379,7 +379,7 @@ of their output."));
 
   STYLE_ADD_SETSHOW_COMMANDS (metadata_style,
                              _("\
-Metadata display styling\n\
+Metadata display styling.\n\
 Configure metadata colors and display intensity\n\
 The \"metadata\" style is used when GDB displays information about\n\
 your data, for example \"<unavailable>\""));
This page took 0.038087 seconds and 4 git commands to generate.