From: Tom de Vries Date: Sat, 5 Jul 2025 11:29:53 +0000 (+0200) Subject: [gdb/tdep] Fix doc string of kvm pcb/proc command X-Git-Tag: binutils-2_45~177 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b930f28b490d2b45049497afa66e1b42aeffbc9b;p=thirdparty%2Fbinutils-gdb.git [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. --- diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 5158fb6d02e..baffa76146f 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.