From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5371 invoked by alias); 21 Nov 2007 12:11:51 -0000 Received: (qmail 5362 invoked by uid 22791); 21 Nov 2007 12:11:50 -0000 X-Spam-Check-By: sourceware.org Received: from el-out-1112.google.com (HELO el-out-1112.google.com) (209.85.162.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 21 Nov 2007 12:11:45 +0000 Received: by el-out-1112.google.com with SMTP id s27so914246ele for ; Wed, 21 Nov 2007 04:11:43 -0800 (PST) Received: by 10.142.215.5 with SMTP id n5mr1897650wfg.1195647100666; Wed, 21 Nov 2007 04:11:40 -0800 (PST) Received: by 10.142.155.16 with HTTP; Wed, 21 Nov 2007 04:11:40 -0800 (PST) Message-ID: <366c6f340711210411p3cef12d3r8cbd32899f0544b2@mail.gmail.com> Date: Wed, 21 Nov 2007 12:11:00 -0000 From: "Peng Yu" To: gdb@sourceware.org Subject: How not to step into functions called as arguments of another function? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2007-11/txt/msg00206.txt.bz2 Hi, Suppose I have two functions in C++. void f(int x); int g(); If I call "f(g())" in my program, when I want to step into f(), I have to first step in g() first. I'm wondering whether there is simple way to step into f() directly without stepping into g()? Thanks, Peng