From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4860 invoked by alias); 4 Jan 2007 00:00:57 -0000 Received: (qmail 4841 invoked by uid 22791); 4 Jan 2007 00:00:54 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Jan 2007 00:00:47 +0000 Received: (qmail 12851 invoked from network); 4 Jan 2007 00:00:44 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Jan 2007 00:00:44 -0000 To: dodji Seketeli Cc: gdb@sourceware.org Subject: Re: gdb very slow during 'step into' References: <20070103234226.GA29136@nevyn.them.org> From: Jim Blandy Date: Thu, 04 Jan 2007 00:00:00 -0000 In-Reply-To: <20070103234226.GA29136@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 3 Jan 2007 18:42:26 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-01/txt/msg00046.txt.bz2 Daniel Jacobowitz writes: > On Wed, Jan 03, 2007 at 03:37:53PM -0800, Jim Blandy wrote: >> Is /lib/ld-linux.so.2 normally installed stripped on your system? If >> GDB can't find the address of the 'fixup' function, then it can't do >> anything but single-step through the dynamic linker as it looks up the >> symbol, which is where we're guessing you're spending your time. > > Yes, generally ld.so is installed stripped on Debian. Hmm. That kind of scuttles that strategy for skipping the resolver quickly, then, doesn't it. Unless someone has a better idea, I guess setting LD_BIND_NOW is the best solution.