From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11791 invoked by alias); 7 Jun 2007 13:57:11 -0000 Received: (qmail 11783 invoked by uid 22791); 7 Jun 2007 13:57:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Jun 2007 13:57:02 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B5AAD982D0; Thu, 7 Jun 2007 13:57:00 +0000 (GMT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by nan.false.org (Postfix) with ESMTP id 6D8F3982BA; Thu, 7 Jun 2007 13:57:00 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HwITy-0004fn-7s; Thu, 07 Jun 2007 09:56:58 -0400 Date: Thu, 07 Jun 2007 13:57:00 -0000 From: Daniel Jacobowitz To: Alejandro Homs Cc: gdb@sourceware.org Subject: Re: libpython2.4.so: Cannot load symbols for shared library with separate debuginfo Message-ID: <20070607135658.GA17949@caradoc.them.org> Mail-Followup-To: Alejandro Homs , gdb@sourceware.org References: <000001c7a907$c3fb73d0$72f95954@cells.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c7a907$c3fb73d0$72f95954@cells.es> User-Agent: Mutt/1.5.15 (2007-04-09) 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-06/txt/msg00052.txt.bz2 On Thu, Jun 07, 2007 at 03:28:38PM +0200, Alejandro Homs wrote: > Hi, > > I am trying to debug a Python C++ extension module. I have installed: > > python-2.4-14: > /usr/bin/python2.4 -> stripped > /usr/lib/libpython.2.4.so.1.0 -> not stripped > python-debug-info-2.4.14: > /usr/lib/debug/usr/bin/python2.4.debug > /usr/lib/debug/usr/lib/libpython2.4.so.1.0.debug > > I installed the latest gdb-6.6. When I load the core file, gdb reads the > symbols from python2.4.debug, but it does not read the > libpython2.4.so.1.0.debug with the debug information for the shared library. > I guess this is because it finds some symbols already on > libpython2.4.so.1.0, and does not attempt to search the separate debuginfo > file. It should always try to load the separate debug file. Is debug-file-directory set to /usr/lib/debug, and is there a .gnu_debuglink section in libpython.2.4.so.1.0? You may have to debug GDB to find out what it thinks it's doing. -- Daniel Jacobowitz CodeSourcery