2003-02-04 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 4 Feb 2003 18:41:29 +0000 (18:41 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 4 Feb 2003 18:41:29 +0000 (18:41 +0000)
From Keith Seitz <keiths@redhat.com>:
* gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the
interpreter-exec command.

gdb/mi/ChangeLog
gdb/mi/gdbmi.texinfo

index e25430ec8735efff3db1b19e101b30f2a3934ae2..58a1ce95af9eb1a8ccc1e43295d935260ec065dc 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
 
        From 2002-11-10 Jason Molenda (jason-cl@molenda.com):
index 8326bcab00b957702542b447abdb5199914d4836..da8b77cc3544b58d2cf7633456e06fe82a39f431 100644 (file)
@@ -2543,6 +2543,33 @@ information when you start an interactive session.
 (@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