From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31322 invoked by alias); 15 Apr 2009 19:57:44 -0000 Received: (qmail 31295 invoked by uid 22791); 15 Apr 2009 19:57:42 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 19:57:37 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C330410E62; Wed, 15 Apr 2009 19:57:34 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 8A6AE10DCA; Wed, 15 Apr 2009 19:57:34 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LuBEj-0006Mg-70; Wed, 15 Apr 2009 15:57:33 -0400 Date: Wed, 15 Apr 2009 19:58:00 -0000 From: Daniel Jacobowitz To: Marc Khouzam Cc: gdb@sourceware.org Subject: Re: GDB support for 'Run to Line' Message-ID: <20090415195733.GA24282@caradoc.them.org> Mail-Followup-To: Marc Khouzam , gdb@sourceware.org References: <6D19CA8D71C89C43A057926FE0D4ADAA0745EBDA@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0745EBDA@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00129.txt.bz2 On Wed, Apr 15, 2009 at 03:48:01PM -0400, Marc Khouzam wrote: > Hi, > > I'm trying to figure out if GDB has support for the 'Run to Line' > feature > of Eclipse, where the user selects a line and the inferior resumes until > that > line. > > GDB's 'until' does not seem to be the right choice since it only stops > if the > location is in the same frame. > > GDB's 'advance' is better, but it stops if the current frame exists. Isn't this just tbreak + continue? -- Daniel Jacobowitz CodeSourcery