This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Implement -exec-jump
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb-patches at sources dot redhat dot com, Eli Zaretskii <eliz at gnu dot org>
- Date: Wed, 22 Apr 2009 16:09:19 +0400
- Subject: Re: Implement -exec-jump
- References: <200904080950.16691.vladimir@codesourcery.com>
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