From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23646 invoked by alias); 28 Jan 2008 19:55:57 -0000 Received: (qmail 23638 invoked by uid 22791); 28 Jan 2008 19:55:57 -0000 X-Spam-Check-By: sourceware.org Received: from post.sinavigator.com (HELO post.sinavigator.com) (216.218.185.251) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Jan 2008 19:55:34 +0000 Received: from localhost (localhost [127.0.0.1]) by post.sinavigator.com (Postfix) with ESMTP id 2E7FF1C161 for ; Mon, 28 Jan 2008 11:59:02 -0800 (PST) Received: by post.sinavigator.com (Postfix, from userid 65534) id E2B8F1C148; Mon, 28 Jan 2008 11:58:57 -0800 (PST) Received: from [127.0.0.1] (fs1.sinavigator.com [192.168.0.10]) by post.sinavigator.com (Postfix) with ESMTP id A2C381B1C8 for ; Mon, 28 Jan 2008 11:58:57 -0800 (PST) Message-ID: <479E332C.7080205@sinavigator.com> Date: Mon, 28 Jan 2008 19:55:00 -0000 From: "William K. Foster" Reply-To: wkf@sinavigator.com User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Step outer function call Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00289.txt.bz2 Hello, I often find that when stepping through code, I would like to step into the outer most function call on a line of code, but the only way I see to do this is to step into each inner call and finish them until reaching the outer call. For example: foo(bar(), baz()); If on the above line and I step, I first enter bar(), then baz(), and 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