From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7185 invoked by alias); 1 Feb 2005 15:12:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7033 invoked from network); 1 Feb 2005 15:12:04 -0000 Received: from unknown (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 1 Feb 2005 15:12:04 -0000 Received: from [10.12.1.181] (dhcpa181.ott.qnx.com [10.12.1.181]) by nimbus.ott.qnx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DL3QN2Y7; Tue, 1 Feb 2005 10:12:04 -0500 Message-ID: <41FF9D34.3050202@qnx.com> Date: Tue, 01 Feb 2005 15:12:00 -0000 From: Kris Warkentin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: Loading shared libraries for core file References: <41FF99CC.90402@businesswebsoftware.com> In-Reply-To: <41FF99CC.90402@businesswebsoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00005.txt.bz2 Ben Hutchings wrote: >Kris Warkentin wrote: > > >>'info shared' should tell you what it plans to load and whether or not >> >> > > > >>it has yet. >> >> > >Unfortunately not: >"No shared libraries loaded at this time." > >Ben. > > Strange. Is it possible that your application cored before it loaded the shared libs? Linux uses lazy linking so if none of your objects had been used yet, they might not be loaded. You'd think that at least libc would be there. What do you get when you 'objdump -x | grep NEEDED'? What does your backtrace show? Also, you might want to try "LD_DEBUG=all LD_DEBUG_OUTPUT=ld_debug.txt " to see what's going on. cheers, Kris