This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[Patch:Doc] Example for -exec-arguments
- From: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Thu, 5 Jun 2008 14:59:13 -0400
- Subject: [Patch:Doc] Example for -exec-arguments
Hi,
Adding example to the doc for -exec-arguments
Ok?
Also, the doc mentions -exec-show-arguments, but the actual
implementation in GDB is missing. Should this be written in the doc?
2008-06-05 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.texinfo (GDB/MI Program Context): Added example
to -exec-arguments
Index: gdb/doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.499
diff -u -r1.499 gdb.texinfo
--- gdb/doc/gdb.texinfo 4 Jun 2008 23:24:19 -0000 1.499
+++ gdb/doc/gdb.texinfo 5 Jun 2008 18:54:33 -0000
@@ -19008,8 +19008,12 @@
@subsubheading Example
-@c FIXME!
-Don't have one around.
+@smallexample
+(gdb)
+-exec-arguments -v word
+^done
+(gdb)
+@end smallexample
@subheading The @code{-exec-show-arguments} Command
Marc