From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29840 invoked by alias); 6 Nov 2005 22:51:35 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 29832 invoked by uid 22791); 6 Nov 2005 22:51:32 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.196) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 06 Nov 2005 22:51:32 +0000 Received: by zproxy.gmail.com with SMTP id q3so208095nzb for ; Sun, 06 Nov 2005 14:51:30 -0800 (PST) Received: by 10.37.21.76 with SMTP id y76mr1358156nzi; Sun, 06 Nov 2005 14:51:30 -0800 (PST) Received: by 10.36.221.14 with HTTP; Sun, 6 Nov 2005 14:51:30 -0800 (PST) Message-ID: Date: Sun, 06 Nov 2005 22:51:00 -0000 From: B Mullins To: B Mullins , gdb@sourceware.org Subject: Re: Fwd: Thread Debugging - NPTL/PPC In-Reply-To: <20051106192611.GA2377@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051106192611.GA2377@nevyn.them.org> X-SW-Source: 2005-11/txt/msg00122.txt.bz2 Thank you! > (B) What symbols does libthread_db try to look up (by calling > ps_pglobal_lookup), and which ones fail? Some failing is OK. All > failing is not OK. A stripped libpthread.so won't work for NPTL > debugging; it needs the .symtab symbol table, although it doesn't need > debug information. > My libpthread was stripped, but I had the debug symbols stored in a separate file. In some cases the debug symbols were being found, in other cases they were not being found. I was able to use 'set debug-file-directory' to direct gdb to the debug symbols, as well as I was able to move the symbols to a suitable location for gdb to find them by its lonesome. I kept thinking that I didn't have stripped libs because of the case where gdb was working as usual. It just happened, in that case, gdb was able to find the debug symbols. Thanks again!