diff options
author | Tom de Vries <tdevries@suse.de> | 2020-02-24 12:30:48 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-02-24 12:30:48 +0100 |
commit | c9af65210c36aa0b5362b8ce2814ca8a5b09af92 (patch) | |
tree | d9be9e5570fd9bf85a58e4cf6c475e75a6a73820 /gdb/tui | |
parent | a98c743fdf721a2333220209ca15e147badb55d1 (diff) | |
download | gdb-c9af65210c36aa0b5362b8ce2814ca8a5b09af92.zip gdb-c9af65210c36aa0b5362b8ce2814ca8a5b09af92.tar.gz gdb-c9af65210c36aa0b5362b8ce2814ca8a5b09af92.tar.bz2 |
[gdb/testsuite] Fix layout next/prev/regs help message
With test-case gdb.gdb/unittest.exp, I run into:
...
(gdb) maintenance selftest^M
...
Running selftest help_doc_invariants.^M
help doc broken invariant: command 'layout next' help doc first line is \
not terminated with a '.' character^M
help doc broken invariant: command 'layout prev' help doc first line is \
not terminated with a '.' character^M
help doc broken invariant: command 'layout regs' help doc first line is \
not terminated with a '.' character^M
Self test failed: self-test failed at help-doc-selftests.c:95^M
...
Fix this by adding the missing '.' character.
Build and reg-tested on x86_64-linux.
gdb/ChangeLog:
2020-02-24 Tom de Vries <tdevries@suse.de>
* tui/tui-layout.c (_initialize_tui_layout): Fix help messages for
commands layout next/prev/regs.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index b2c47c0..9014889 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -1044,13 +1044,13 @@ Usage: layout prev | next | LAYOUT-NAME"), &layout_list, "layout ", 0, &cmdlist); add_cmd ("next", class_tui, tui_next_layout_command, - _("Apply the next TUI layout"), + _("Apply the next TUI layout."), &layout_list); add_cmd ("prev", class_tui, tui_prev_layout_command, - _("Apply the previous TUI layout"), + _("Apply the previous TUI layout."), &layout_list); add_cmd ("regs", class_tui, tui_regs_layout_command, - _("Apply the TUI register layout"), + _("Apply the TUI register layout."), &layout_list); add_cmd ("new-layout", class_tui, tui_new_layout_command, |