From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16077 invoked by alias); 5 Jul 2011 17:44:11 -0000 Received: (qmail 16069 invoked by uid 22791); 5 Jul 2011 17:44:10 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_DB X-Spam-Check-By: sourceware.org Received: from smtp-out12.han.skanova.net (HELO smtp-out12.han.skanova.net) (195.67.226.212) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Jul 2011 17:43:56 +0000 Received: from [130.237.20.66] (130.237.20.66) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u84406617) id 4DF89E7F004855D1; Tue, 5 Jul 2011 19:43:51 +0200 Subject: Re: Patch to enable a fully working gdb for GNU/Hurd From: Svante Signell Reply-To: svante.signell@telia.com To: Tom Tromey Cc: Thomas Schwinge , gdb-patches@sourceware.org, 579834@bugs.debian.org In-Reply-To: References: <1309367642.3172.82.camel@s1499.it.kth.se> <87k4bxj4ed.fsf@kepler.schwinge.homeip.net> <1309807063.3172.126.camel@s1499.it.kth.se> <1309876684.3172.144.camel@s1499.it.kth.se> Content-Type: text/plain; charset="UTF-8" Date: Tue, 05 Jul 2011 17:51:00 -0000 Message-ID: <1309887830.3172.155.camel@s1499.it.kth.se> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00161.txt.bz2 On Tue, 2011-07-05 at 10:15 -0600, Tom Tromey wrote: > >>>>> "Svante" == Svante Signell writes: > > Svante> 2) When debugging an executable gdb does not find the debugging symbols > Svante> for libraries. For example with libc0.3-dbg installed, the symbols are > Svante> found with 7.2 but not with 7.3.50 when running the built gdb directly > Svante> on an executable having debugging symbols (they are found). > > If libc0.3-dbg is just the separate debuginfo package, then make sure > you have configured gdb with the correct --with-separate-debug-dir. Looks like the following are set in the Debian case: #define DEBUGDIR "/usr/lib/debug" #define DEBUGDIR_RELOCATABLE 1 The difference with my build was that only --prefix=/usr was set resulting in #define DEBUGDIR "/usr/local/lib/debug" Thanks, problem solved!