This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit+doco] GDB/MI: Document support for -exec-run --start in -list-features
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 Dec 2013 08:28:41 +0400
- Subject: Re: [RFA/commit+doco] GDB/MI: Document support for -exec-run --start in -list-features
- Authentication-results: sourceware.org; auth=none
- References: <1386051670-28637-1-git-send-email-brobecker at adacore dot com> <83wqjm4cwl dot fsf at gnu dot org> <20131210120252 dot GD3238 at adacore dot com> <20131223014015 dot GE4605 at adacore dot com> <83bo088bxh dot fsf at gnu dot org>
> > gdb/doc/ChangeLog:
> >
> > * gdb.texinfo (GDB/MI Support Commands): Add @findex entries
> > for each @item in the table describing the list of features.
> > Add empty line between each @item.
> >
> > OK to commit?
>
> It is OK, but the same effect for a much smaller effort would be
> achieved by replacing @table with @ftable. Thgen each @item
> automatically gets inserted into the function index.
I didn't know that, thanks! Here is a new patch...
gdb/doc/ChangeLog:
* gdb.texinfo (GDB/MI Support Commands): Change @table into
@ftable.
--
Joel
>From 86e54f9d0fa850ad464be97defd082a0224bd61b Mon Sep 17 00:00:00 2001
From: Joel Brobecker <brobecker@adacore.com>
Date: Mon, 23 Dec 2013 05:33:59 +0400
Subject: [PATCH] Turn -list-feature @table into @ftable.
This is to make it easier to discover the various options displayed
by the -list-features command.
gdb/doc/ChangeLog:
* gdb.texinfo (GDB/MI Support Commands): Change @table into
@ftable.
---
gdb/doc/gdb.texinfo | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 29f1cfc..8814cd0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -35114,7 +35114,7 @@ Example output:
The current list of features is:
-@table @samp
+@ftable @samp
@item frozen-varobjs
Indicates support for the @code{-var-set-frozen} command, as well
as possible presense of the @code{frozen} field in the output
@@ -35148,7 +35148,7 @@ records, produced when trying to execute an undefined @sc{gdb/mi} command
@item exec-run-start-option
Indicates that the @code{-exec-run} command supports the @option{--start}
option (@pxref{GDB/MI Program Execution}).
-@end table
+@end ftable
@subheading The @code{-list-target-features} Command
@findex -list-target-features
--
1.8.3.2