From eca48b00fd2750cdcc535112667fd1199835de47 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 4 Feb 2003 18:41:29 +0000 Subject: [PATCH] 2003-02-04 Andrew Cagney From Keith Seitz : * gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the interpreter-exec command. --- gdb/mi/ChangeLog | 6 ++++++ gdb/mi/gdbmi.texinfo | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index e25430ec87..58a1ce95af 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,9 @@ +2003-02-04 Andrew Cagney + + From Keith Seitz : + * gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the + interpreter-exec command. + 2003-02-02 Andrew Cagney From 2002-11-10 Jason Molenda (jason-cl@molenda.com): diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo index 8326bcab00..da8b77cc35 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