Implement -exec-jump

Vladimir Prus vladimir@codesourcery.com
Wed Apr 22 12:09:00 GMT 2009


On Wednesday 08 April 2009 09:50:16 Vladimir Prus wrote:
> 
> This patch, committed, implements the -exec-jump MI command.
> (Documentation follows later)

Here's the doc patch. OK?

- Volodya

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.583
diff -u -p -r1.583 gdb.texinfo
--- gdb.texinfo	22 Apr 2009 06:09:18 -0000	1.583
+++ gdb.texinfo	22 Apr 2009 12:08:23 -0000
@@ -21396,6 +21396,31 @@ fullname="/home/foo/bar/try.c",line="13"
 (gdb)
 @end smallexample
 
+@subheading The @code{-exec-jump} Command
+@findex -exec-jump
+
+@subsubheading Synopsis
+
+@smallexample
+ -exec-jump @var{location}
+@end smallexample
+
+Resumes execution of the inferior program at the location specified by
+parameter. @xref{Specify Location}, for a description of the
+different forms of @var{location}.
+
+@subsubheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{jump}.
+
+@subsubheading Example
+
+@smallexample
+-exec-jump foo.c:10
+*running,thread-id="all"
+^running
+@end smallexample
+
 
 @subheading The @code{-exec-next} Command
 @findex -exec-next



More information about the Gdb-patches mailing list