From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15382 invoked by alias); 7 Jun 2007 17:48:47 -0000 Received: (qmail 15373 invoked by uid 22791); 7 Jun 2007 17:48:46 -0000 X-Spam-Check-By: sourceware.org Received: from dns2.cells.es (HELO dublin.cells.es) (84.89.246.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Jun 2007 17:48:40 +0000 Received: by dublin.cells.es (Postfix, from userid 30) id 59FBD64B53; Thu, 7 Jun 2007 19:48:37 +0200 (CEST) Received: from post.cells.es (post.cells.es [192.168.0.15]) by dublin.cells.es (Postfix) with ESMTP id EB74D64B46; Thu, 7 Jun 2007 19:48:36 +0200 (CEST) Received: from pc114 (pc114.cells.es [84.89.249.114]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by post.cells.es (Welcome to POSTFIX smtp ESMTP) with ESMTP id E2DF41730; Thu, 7 Jun 2007 19:48:36 +0200 (CEST) From: "Alejandro Homs" To: "'Andreas Schwab'" Cc: "'Daniel Jacobowitz'" , References: <000001c7a907$c3fb73d0$72f95954@cells.es> <20070607135658.GA17949@caradoc.them.org> <000301c7a918$e0de1af0$72f95954@cells.es> Subject: RE: libpython2.4.so: Cannot load symbols for shared library with separate debuginfo Date: Thu, 07 Jun 2007 17:48:00 -0000 Message-ID: <000a01c7a92c$0f3cda90$72f95954@cells.es> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: 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/msg00056.txt.bz2 > >> 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. > > > > You are right, the debug-file-directory is pointing to /usr/lib/debug, > but > > there is no .gnu_debuglink section in libpython.2.4.so.1.0. > > I am obliged to generate the .gnu_debuglink section? > > If there is no debuglink section then the debug info file most likely > does not belong to this library. That's a very strange thing. All the other libraries in the same package have the .gnu_debuglink section. And the debuginfo package was built with the same timestamp ... I don't know if this was removed intentionally by SuSE ... I do not have the SRPM of that package, so I will check with recent package versions. Anyway, as I said in my previous mail, objcopy did the job, and it works! Thanks Alejandro