]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdbmi.texinfo: Document the interpreter-exec command.
authorKeith Seitz <keiths@redhat.com>
Wed, 28 Aug 2002 17:01:44 +0000 (17:01 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 28 Aug 2002 17:01:44 +0000 (17:01 +0000)
gdb/mi/ChangeLog
gdb/mi/gdbmi.texinfo

index 666ba1d8273c776e85da696f8daddfae89df8d18..850f3741086cbdf0156871b759a30b6cf1955c84 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-28  Keith Seitz  <keiths@redhat.com>
+
+       * gdbmi.texinfo: Document the interpreter-exec command.
+
 2002-08-21  Keith Seitz  <keiths@redhat.com>
 
        * mi-events.c (mi_target_changed): Renamed from mi_register_update.
index fab7cba8096f207faf6e18a103ef9fc392ad3c1f..e2d6c0fd24e26e4c6640a3bfd2f5d034b6534059 100644 (file)
@@ -2537,6 +2537,34 @@ 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"
+=breakpoint-create,number="1"
+^done
+(@value{GDBP})
+@end smallexample
+
 @ignore
 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%% SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 @node GDB/MI Kod Commands