From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16885 invoked by alias); 9 May 2006 14:21:30 -0000 Received: (qmail 16868 invoked by uid 22791); 9 May 2006 14:21:27 -0000 X-Spam-Check-By: sourceware.org Received: from cumulus.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.72) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 14:20:57 +0000 Received: from [192.168.0.10] (220-253-62-212.VIC.netspace.net.au [220.253.62.212]) by mail.netspace.net.au (Postfix) with ESMTP id E8B557D9E5 for ; Wed, 10 May 2006 00:20:49 +1000 (EST) Message-ID: <4460A544.8060808@netspace.net.au> Date: Tue, 09 May 2006 14:30:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 MIME-Version: 1.0 Cc: gdb@sources.redhat.com Subject: Re: Unknown files References: <446088E5.3070204@netspace.net.au> <20060509123912.GC2147@nevyn.them.org> <44609E48.3060001@netspace.net.au> <20060509141335.GA4585@nevyn.them.org> In-Reply-To: <20060509141335.GA4585@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2006-05/txt/msg00093.txt.bz2 Daniel Jacobowitz wrote: > On Tue, May 09, 2006 at 11:51:04PM +1000, Russell Shaw wrote: > >>Daniel Jacobowitz wrote: >> >>>On Tue, May 09, 2006 at 10:19:49PM +1000, Russell Shaw wrote: >>> >>>>Hi, >>>>When bt shows history inside of a file without debugging >>>>symbols, how do i find what file it is? >>> >>>It looks like your GDB has failed to load libraries. Try "info >>>shared". >> >>(gdb) info shared >>No shared libraries loaded at this time. > > Then, your GDB is broken. Do you get warnings about not being able to > find the dynamic linker? How are you starting the program to be > debugged? If you're remote debugging, did you use "file"? > > You need to give more details before we can help you. Hi, I'm using GNU gdb 6.4-debian on a debian-sid pc. I debug using: ddd ./myprog I've been using it for months ok (my program runs on the same pc). To get rid of these backtrace unknowns, i installed the unstripped dev and debug packages for various libraries. I assume there's still some stripped libraries being used. If i can find the name of these files, i can install debug versions of them. I assume it's stripped libraries that's causing this?