This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit/doc] Document -interpreter-exec
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 04 Feb 2003 13:42:38 -0500
- Subject: [commit/doc] Document -interpreter-exec
Hello,
I've committed the attached (Eli, you approved this oh so long ago). It
documents the -interpreter-exec MI command.
Andrew
2003-02-04 Andrew Cagney <ac131313@redhat.com>
From Keith Seitz <keiths@redhat.com>:
* gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the
interpreter-exec command.
Index: gdbmi.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/mi/gdbmi.texinfo,v
retrieving revision 1.32
diff -u -r1.32 gdbmi.texinfo
--- gdbmi.texinfo 2 Feb 2003 06:24:04 -0000 1.32
+++ gdbmi.texinfo 4 Feb 2003 18:38:37 -0000
@@ -2543,6 +2543,33 @@
(@value{GDBP})
@end smallexample
+@subheading The @code{-interpreter-exec} Command
+@findex -interpreter-exec
+
+@subheading Synopsis
+
+@smallexample
+-interpreter-exec @var{interpreter} @var{command}
+@end smallexample
+
+Execute the specified @var{command} in the given @var{interpreter}.
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{interpreter-exec}.
+
+@subheading Example
+
+@smallexample
+(@value{GDBP})
+-interpreter-exec console "break main"
+&"During symbol reading, couldn't parse type; debugger out of date?.\n"
+&"During symbol reading, bad structure-type format.\n"
+~"Breakpoint 1 at 0x8074fc6: file ../../src/gdb/main.c, line 743.\n"
+^done
+(@value{GDBP})
+@end smallexample
+
@ignore
@c %%%%%%%%%%%%%%%%%%%%%%%%%%%% SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@node GDB/MI Kod Commands