This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] new command: 'maintenance info lines'
- From: Josef Ezra <jezra at emc dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Jun 2002 10:28:36 -0400
- Subject: Re: [RFA] new command: 'maintenance info lines'
- References: <Pine.SUN.3.91.1020619083133.27660H-100000@is>
Eli Zaretskii wrote:
On Tue, 18 Jun 2002, josef ezra wrote:
I'm adding this gdb.textinfo entry
Thanks. A couple of minor comments:
+This command takes same parameters as @code{disassemble}, but only
+dumps an 'address:line' pairs.
`address' and `line' stand for something else, so they should have the
@var markup:
... @code{@var{address}:@var{line}} pairs ...
+ Every pair means: "from this address
+to the next pair, the code was generated by that line".
Please use `` and '' rather than " in Texinfo. The former will look much
better when typeset by TeX in the printed manual (in the Info output,
they are converted to " automatically).
Other than that, the documentation patch is approved.
thanks.
Updated patch attached ...
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.102
diff -u -3 -r1.102 gdb.texinfo
--- gdb.texinfo 11 Jun 2002 20:36:57 -0000 1.102
+++ gdb.texinfo 19 Jun 2002 14:10:47 -0000
@@ -4360,6 +4360,13 @@
can set @var{instruction-set} to either @code{intel} or @code{att}.
The default is @code{att}, the AT&T flavor used by default by Unix
assemblers for x86-based targets.
+
+@kindex maint info lines
+@item maint info lines
+This command takes same parameters as @code{disassemble}, but only
+dumps an @code{@var{address}:@var{line}} pairs. Every pair means: ``from this
+@var{address} forward, the code was generated by that @var{line}''.
+
@end table