This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]