Fix doc of AVR-specific command "info io_registers"
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 4 Dec 2019 18:35:46 +0000 (13:35 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Dec 2019 18:35:46 +0000 (13:35 -0500)
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".

gdb/ChangeLog
gdb/avr-tdep.c

index 14c06e49eed1f0a4538445b51dab9a1eb48cf0ef..ea89bfbd8d16ce35e8f1a95513846fcb3e4ad0d0 100644 (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
index 6d11ee1618cca2cfee10e1de2573b85d3a5214fc..61a0a5dd52ea6924598db39fdd40092773a31295 100644 (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."));
 }
This page took 0.043936 seconds and 4 git commands to generate.