Patchwork [8/8] Update "save gdb-index" documentation

login
register
mail settings
Submitter Tom Tromey
Date July 31, 2019, 8:14 p.m.
Message ID <20190731201411.8044-9-tromey@adacore.com>
Download mbox | patch
Permalink /patch/33878/
State New
Headers show

Comments

Tom Tromey - July 31, 2019, 8:14 p.m.
This updates the "save gdb-index" documentation to reflect the new
state of Ada support.  It also corrects an existing grammatical error.

gdb/doc/ChangeLog
2019-07-31  Tom Tromey  <tromey@adacore.com>

	* gdb.texinfo (Index Files): Update Ada text.
---
 gdb/doc/ChangeLog   | 4 ++++
 gdb/doc/gdb.texinfo | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
Eli Zaretskii - Aug. 1, 2019, 2:36 a.m.
> From: Tom Tromey <tromey@adacore.com>
> Cc: Tom Tromey <tromey@adacore.com>
> Date: Wed, 31 Jul 2019 14:14:11 -0600
> 
> This updates the "save gdb-index" documentation to reflect the new
> state of Ada support.  It also corrects an existing grammatical error.
> 
> gdb/doc/ChangeLog
> 2019-07-31  Tom Tromey  <tromey@adacore.com>
> 
> 	* gdb.texinfo (Index Files): Update Ada text.

OK, thanks.

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0fcd131f71e..906162c90c1 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -20919,8 +20919,8 @@  $ gdb -iex "set use-deprecated-index-sections on" <program>
 @end smallexample
 
 There are currently some limitation on indices.  They only work when
-for DWARF debugging information, not stabs.  And, they do not
-currently work for programs using Ada.
+using DWARF debugging information, not stabs.  And, only the
+@code{-dwarf-5} index works for programs using Ada.
 
 @subsection Automatic symbol index cache