From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31739 invoked by alias); 12 Feb 2005 17:24:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31728 invoked from network); 12 Feb 2005 17:24:18 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 12 Feb 2005 17:24:18 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1D010D-0000WF-Pc; Sat, 12 Feb 2005 12:24:17 -0500 Date: Sat, 12 Feb 2005 19:45:00 -0000 From: Daniel Jacobowitz To: Edward Peschko Cc: gdb@sources.redhat.com Subject: Re: suppressing stepping into standard library functions Message-ID: <20050212172417.GA1972@nevyn.them.org> Mail-Followup-To: Edward Peschko , gdb@sources.redhat.com References: <20050212061838.GA29624@venus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050212061838.GA29624@venus> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-02/txt/msg00093.txt.bz2 On Fri, Feb 11, 2005 at 10:18:38PM -0800, Edward Peschko wrote: > hey all, > > I believe this has to be a FAQ and there must be a good solution > for this, but I can't find out because of searching being down.. ;-) > > Anyways, what I wanted to do is avoid the stepping into standard > library functions for c++ code - seeing stuff like: > > __normal_iterator(const _Iterator& __i) : _M_current(__i) { } > > when hitting 'n' in the debugging sessions really obfuscates the flow of > logic of the program. I'd like to step through my code, and my code only. > > Is there a way to configure gdb to avoid stepping into certain > classes/functions like this? Not yet - this requires support for inline functions, so that we can recognize when we're leaving the user code. -- Daniel Jacobowitz CodeSourcery, LLC