summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-08-28 17:01:44 +0000
committerKeith Seitz <keiths@redhat.com>2002-08-28 17:01:44 +0000
commit2e92bc125ec7047c60e0264775f17685843b96c6 (patch)
tree9efd2e3139008fd2d231623c12de0bf6371193e3
parentb106411a2288ca044f885c81b066318113069615 (diff)
downloadgdb-2e92bc125ec7047c60e0264775f17685843b96c6.tar.gz
* gdbmi.texinfo: Document the interpreter-exec command.
-rw-r--r--gdb/mi/ChangeLog4
-rw-r--r--gdb/mi/gdbmi.texinfo28
2 files changed, 32 insertions, 0 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 666ba1d8273..850f3741086 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -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.
diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo
index fab7cba8096..e2d6c0fd24e 100644
--- a/gdb/mi/gdbmi.texinfo
+++ b/gdb/mi/gdbmi.texinfo
@@ -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