Fix ref in gdb.texinfo

Message ID 7a3a3016-b183-b9e1-74a6-91e6050e315e@arm.com
State New, archived
Headers

Commit Message

Szabolcs Nagy June 11, 2018, 5:15 p.m. UTC
  Since

commit 5045b3d78903d1f6faa4cb511fa801e50dfacf48
Commit:     Gary Benson <gbenson@redhat.com>
CommitDate: 2018-06-08 18:06:46 +0100

     linux: Add maintenance commands to test libthread_db

The build fails for me with

../../../gdb/doc/gdb.texinfo:35875: @ref reference to nonexistent node `maint check libthread-db'
Makefile:486: recipe for target 'gdb.info' failed

gdb/doc/ChangeLog:
2018-06-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* gdb.texinfo (maint check libthread-db): Add anchor.
  

Comments

Eli Zaretskii June 11, 2018, 5:32 p.m. UTC | #1
> From: Szabolcs Nagy <szabolcs.nagy@arm.com>
> Date: Mon, 11 Jun 2018 18:15:12 +0100
> 
> commit 5045b3d78903d1f6faa4cb511fa801e50dfacf48
> Commit:     Gary Benson <gbenson@redhat.com>
> CommitDate: 2018-06-08 18:06:46 +0100
> 
>      linux: Add maintenance commands to test libthread_db
> 
> The build fails for me with
> 
> ../../../gdb/doc/gdb.texinfo:35875: @ref reference to nonexistent node `maint check libthread-db'
> Makefile:486: recipe for target 'gdb.info' failed

Please try again, I hope I fixed that.
  

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 2c0ac33f8b..2b56b5ab21 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -35547,6 +35547,7 @@  modify XML target descriptions.
 Check that the target descriptions dynamically created by @value{GDBN}
 equal the descriptions created from XML files found in @var{dir}.
 
+@anchor{maint check libthread-db}
 @kindex maint check libthread-db
 @item maint check libthread-db
 Run integrity checks on the current inferior's thread debugging