From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24562 invoked by alias); 2 Jul 2007 08:57:41 -0000 Received: (qmail 24551 invoked by uid 22791); 2 Jul 2007 08:57:41 -0000 X-Spam-Check-By: sourceware.org Received: from web25413.mail.ukl.yahoo.com (HELO web25413.mail.ukl.yahoo.com) (217.146.176.231) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 02 Jul 2007 08:57:38 +0000 Received: (qmail 50112 invoked by uid 60001); 2 Jul 2007 08:57:36 -0000 X-YMail-OSG: qfvgQb8VM1llvEkZGhg6izYFAVa5GDlYFdMfewB9ffKpfIr31BNRubo8z7FSwHSF.y00pqjJHIkQnSz..yqoeIn4YUL1ngMwuhyXQCnbm7QhrHXt Received: from [81.233.241.116] by web25413.mail.ukl.yahoo.com via HTTP; Mon, 02 Jul 2007 10:57:36 CEST Date: Mon, 02 Jul 2007 08:57:00 -0000 From: Arne Steinarson Subject: Re: Performance, stepping into source for shared libs To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <345596.49084.qm@web25413.mail.ukl.yahoo.com> 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-07/txt/msg00009.txt.bz2 After doing some searching, I found this thread from January: http://www.ecos.sourceware.org/ml/gdb/2007-01/msg00020.html It's the same problem I have, I'm also on Debian system (Ubuntu), with GDB 6.6. Apparently GDB is single stepping through loading and resolving every symbol of the shared library. Setting LD_BIND_NOW to non-empty value solves the problem. Hoping a fix of this issue could make it into future release. Regards // Arne S. Låt vårkänslorna spira! Hitta din tvillingsjäl på Yahoo! Dejting: http://se.meetic.yahoo.net