From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1899 invoked by alias); 22 Apr 2009 12:09:25 -0000 Received: (qmail 1889 invoked by uid 22791); 22 Apr 2009 12:09:23 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Apr 2009 12:09:17 +0000 Received: (qmail 8080 invoked from network); 22 Apr 2009 12:09:15 -0000 Received: from unknown (HELO wind.localnet) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Apr 2009 12:09:15 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: Implement -exec-jump Date: Wed, 22 Apr 2009 12:09:00 -0000 User-Agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.68; i686; svn-948090; 2009-04-01) References: <200904080950.16691.vladimir@codesourcery.com> In-Reply-To: <200904080950.16691.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200904221609.19770.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00590.txt.bz2 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