diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-04 18:41:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-04 18:41:29 +0000 |
commit | eca48b00fd2750cdcc535112667fd1199835de47 (patch) | |
tree | a546a1234c6aaedc95c1bb7e34b2865665e181bb /gdb/mi | |
parent | a2d356b075ff182a07472b87a4dd65a2fa372c0c (diff) | |
download | gdb-eca48b00fd2750cdcc535112667fd1199835de47.zip gdb-eca48b00fd2750cdcc535112667fd1199835de47.tar.gz gdb-eca48b00fd2750cdcc535112667fd1199835de47.tar.bz2 |
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.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/mi/gdbmi.texinfo | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index e25430e..58a1ce9 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -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): diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo index 8326bca..da8b77c 100644 --- a/gdb/mi/gdbmi.texinfo +++ b/gdb/mi/gdbmi.texinfo @@ -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 |