Fix doc of AVR-specific command "info io_registers"

Running the selftests on an all-targets build, I get:

    Running selftest help_doc_invariants.
    help doc broken invariant: command 'info io_registers' help doc first line is not terminated with a '.' character
    Self test failed: self-test failed at /home/simark/src/binutils-gdb/gdb/unittests/help-doc-selftests.c:95

Add a period at the end of the doc of that command, and make it a bit
nicer in general.

gdb/ChangeLog:

	* avr-tdep.c (_initialize_avr_tdep): Improve help of command
	"info io_registers".
This commit is contained in:
Simon Marchi 2019-12-04 13:35:46 -05:00 committed by Simon Marchi
parent 894ecaf4ca
commit c6170c2c14
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-12-04 Simon Marchi <simon.marchi@polymtl.ca>
* avr-tdep.c (_initialize_avr_tdep): Improve help of command
"info io_registers".
2019-12-04 Simon Marchi <simon.marchi@polymtl.ca>
* regcache.c (cooked_read_test): Initialize thread list of

View File

@ -1629,5 +1629,5 @@ _initialize_avr_tdep (void)
io_registers' to signify it is not available on other platforms. */
add_info ("io_registers", avr_io_reg_read_command,
_("query remote avr target for io space register values"));
_("Query remote AVR target for I/O space register values."));
}