diff options
author | Tom de Vries <tdevries@suse.de> | 2019-10-03 10:15:39 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-10-03 10:15:39 +0200 |
commit | 4d825eab2dc70954ce1d229f48741da4936947fb (patch) | |
tree | bbc835f46af3f10eaba984aa570058c85dd7cb46 | |
parent | 03ba321aaa4b4914711c103c9afd25a7ba80664f (diff) | |
download | gdb-4d825eab2dc70954ce1d229f48741da4936947fb.zip gdb-4d825eab2dc70954ce1d229f48741da4936947fb.tar.gz gdb-4d825eab2dc70954ce1d229f48741da4936947fb.tar.bz2 |
[gdb] Fix set/show style metadata help text
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cli/cli-style.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 13a1e46..0dabd9e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/cli/cli-style.c b/gdb/cli/cli-style.c index a0c5c0a..5535d67 100644 --- a/gdb/cli/cli-style.c +++ b/gdb/cli/cli-style.c @@ -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>\"")); |