From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8945 invoked by alias); 23 Nov 2007 03:26:12 -0000 Received: (qmail 8937 invoked by uid 22791); 23 Nov 2007 03:26:12 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Nov 2007 03:26:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BA97C2A9694; Thu, 22 Nov 2007 22:26:06 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vEc-x7V8cjBw; Thu, 22 Nov 2007 22:26:06 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8866B2A9687; Thu, 22 Nov 2007 22:26:06 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 7923BE7ACA; Thu, 22 Nov 2007 19:26:01 -0800 (PST) Date: Fri, 23 Nov 2007 03:26:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: Peng Yu , gdb@sourceware.org Subject: Re: How not to step into functions called as arguments of another function? Message-ID: <20071123032601.GB23393@adacore.com> References: <366c6f340711210411p3cef12d3r8cbd32899f0544b2@mail.gmail.com> <1195652686.23780.24.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1195652686.23780.24.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.2i 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/msg00216.txt.bz2 > Not in one command, but in two: > (gdb) break f > (gdb) continue Right, or often people will prefer the temporary breakpoint: (gdb) tbreak f (gdb) cont It's actually a good idea to define a user command for that if this is a common situation for you. -- Joel