From: Keith Seitz Date: Wed, 28 Aug 2002 17:01:44 +0000 (+0000) Subject: * gdbmi.texinfo: Document the interpreter-exec command. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b043c8897210327959fc9883298c2af732087a;p=thirdparty%2Fbinutils-gdb.git * gdbmi.texinfo: Document the interpreter-exec command. --- 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 + + * gdbmi.texinfo: Document the interpreter-exec command. + 2002-08-21 Keith Seitz * 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