diff options
author | Tom de Vries <tdevries@suse.de> | 2025-07-05 13:29:53 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-07-05 13:29:53 +0200 |
commit | b930f28b490d2b45049497afa66e1b42aeffbc9b (patch) | |
tree | be70584f33dd2a71be0d549c73d9aa653f5cd4b5 | |
parent | 1fe6ffd81e76a2799add18d9e1d5208a90c21ece (diff) | |
download | binutils-b930f28b490d2b45049497afa66e1b42aeffbc9b.zip binutils-b930f28b490d2b45049497afa66e1b42aeffbc9b.tar.gz binutils-b930f28b490d2b45049497afa66e1b42aeffbc9b.tar.bz2 |
[gdb/tdep] Fix doc string of kvm pcb/proc command
On x86_64-freebsd, I ran into:
...
$ gdb -q -batch -ex "maint selftest help_doc_invariants"
Running selftest help_doc_invariants.
help doc broken invariant: command 'kvm pcb' help doc first line is not \
terminated with a '.' character
Self test failed: self-test failed at command-def-selftests.c:120
Failures:
help_doc_invariants
Ran 1 unit tests, 1 failed
...
Fix this by adding the missing terminating dot.
Likewise for the kvm proc command.
Tested on x86_64-freebsd.
-rw-r--r-- | gdb/bsd-kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 5158fb6..baffa76 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -388,11 +388,11 @@ Generic command for manipulating the kernel memory interface."), #ifndef HAVE_STRUCT_THREAD_TD_PCB add_cmd ("proc", class_obscure, bsd_kvm_proc_cmd, - _("Set current context from proc address"), &bsd_kvm_cmdlist); + _("Set current context from proc address."), &bsd_kvm_cmdlist); #endif add_cmd ("pcb", class_obscure, bsd_kvm_pcb_cmd, /* i18n: PCB == "Process Control Block". */ - _("Set current context from pcb address"), &bsd_kvm_cmdlist); + _("Set current context from pcb address."), &bsd_kvm_cmdlist); /* Some notes on the ptid usage on this target. |