Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kris Warkentin <kewarken@qnx.com>
To: gdb@sources.redhat.com
Subject: Re: Loading shared libraries for core file
Date: Tue, 01 Feb 2005 15:12:00 -0000	[thread overview]
Message-ID: <41FF9D34.3050202@qnx.com> (raw)
In-Reply-To: <41FF99CC.90402@businesswebsoftware.com>

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 <your_app> | grep 
NEEDED'?  What does your backtrace show?

Also, you might want to try "LD_DEBUG=all LD_DEBUG_OUTPUT=ld_debug.txt 
<your_app>" to see what's going on.

cheers,

Kris


  reply	other threads:[~2005-02-01 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 14:57 Ben Hutchings
2005-02-01 15:12 ` Kris Warkentin [this message]
     [not found] <41FF84B0.2060008@businesswebsoftware.com>
     [not found] ` <41FF9CB8.8070507@qnx.com>
2005-02-01 15:53   ` Ben Hutchings
2005-02-01 16:02     ` Kris Warkentin
  -- strict thread matches above, loose matches on Subject: below --
2005-01-31 19:14 Ben Hutchings
2005-01-31 20:14 ` Kris Warkentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41FF9D34.3050202@qnx.com \
    --to=kewarken@qnx.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox