Fix memory tagging section type
authorLuis Machado <luis.machado@linaro.org>
Fri, 26 Mar 2021 12:37:56 +0000 (09:37 -0300)
committerLuis Machado <luis.machado@linaro.org>
Mon, 29 Mar 2021 14:57:15 +0000 (11:57 -0300)
It was reported to me that on Ubuntu 14.04 (fairly old) the documentation
fails to build with the following:

gdb/doc/gdb.texinfo:10888: warning: node `Memory' is up for `Memory Tagging' in sectioning but not in menu
gdb/doc/gdb.texinfo:10693: node `Memory' lacks menu item for `Memory Tagging' despite being its Up target
Makefile:491: recipe for target 'gdb.info' failed
make[3]: *** [gdb.info] Error 1

This doesn't seem to happen on Ubuntu 18.04/20.04, but it does make sense.

Fix this by turning @subsection into a @section and adding the
"Memory Tagging" entry to the menu.

gdb/doc/ChangeLog:

2021-03-29  Luis Machado  <luis.machado@linaro.org>

* gdb.textinfo (Memory Tagging): Make it a @section.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index cbacf184712982a24ef4b381f87fd58744eaf33a..0b9b3512f92a128a9a01650d4f2cba0549c1c5a7 100644 (file)
@@ -1,3 +1,7 @@
+2021-03-29  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.textinfo (Memory Tagging): Make it a @section.
+
 2021-03-24  Luis Machado  <luis.machado@linaro.org>
 
        * gdb.texinfo (Data): Document memory tagging changes to the "print"
index dbf878cdbc35e5d19dd182eee5ba321e52dbf5bd..7dbffb65d53157cb32ff8adc989c4f59b0cee1f8 100644 (file)
@@ -10118,6 +10118,7 @@ being passed the type of @var{arg} as the argument.
 * Arrays::                      Artificial arrays
 * Output Formats::              Output formats
 * Memory::                      Examining memory
+* Memory Tagging::              Memory Tagging
 * Auto Display::                Automatic display
 * Print Settings::              Print settings
 * Pretty Printing::             Python pretty printing
@@ -10886,7 +10887,7 @@ target supports computing the CRC checksum of a block of memory
 @end table
 
 @node Memory Tagging
-@subsection Memory Tagging
+@section Memory Tagging
 
 Memory tagging is a memory protection technology that uses a pair of tags to
 validate memory accesses through pointers.  The tags are integer values
This page took 0.046563 seconds and 4 git commands to generate.