From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27638 invoked by alias); 28 Jan 2008 20:03:03 -0000 Received: (qmail 27629 invoked by uid 22791); 28 Jan 2008 20:03:03 -0000 X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Jan 2008 20:02:28 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id m0SK2MFe020404; Mon, 28 Jan 2008 14:02:23 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 28 Jan 2008 14:02:23 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Step outer function call Date: Mon, 28 Jan 2008 20:03:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290E72@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <479E332C.7080205@sinavigator.com> From: "Marc Khouzam" To: , 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: 2008-01/txt/msg00290.txt.bz2 I found a similar question with answer from a couple of months ago: http://sourceware.org/ml/gdb/2007-11/msg00206.html -----Original Message----- From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org]On Behalf Of William K. Foster Sent: Monday, January 28, 2008 2:55 PM To: gdb@sourceware.org Subject: Step outer function call Hello, I often find that when stepping through code, I would like to step into=20 the outer most function call on a line of code, but the only way I see=20 to do this is to step into each inner call and finish them until=20 reaching the outer call. For example: foo(bar(), baz()); If on the above line and I step, I first enter bar(), then baz(), and=20 finally foo(). The vast majority of the time, I want to enter foo(). Is there a command or script to accomplish this? If not, is this a reasonable feature request for gdb? Thanks. -William