Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Kunal Parmar <kunal.parmar@codito.com>
Cc: gdb@sources.redhat.com
Subject: Re: shared library symbols not loaded automatically
Date: Wed, 12 Jul 2006 18:15:00 -0000	[thread overview]
Message-ID: <20060712181525.GA26898@nevyn.them.org> (raw)
In-Reply-To: <44B53A5D.7090505@codito.com>

On Wed, Jul 12, 2006 at 11:37:25PM +0530, Kunal Parmar wrote:
> Hello,
> I am trying to debug a program which uses shared libraries.
> My host is i386-linux and target is arm-linux.
> While debugging, gdb shows me the shared libraries used by my program
> but it does not load the symbols automatically (auto-solib-add is set).
> I have to explicitly use the sharedlibrary command after which the shared
> library symbols are read in.

It looks like you need to set solib-absolute-prefix.

> >Reading symbols from /lib/libc.so.6...done.
> >Loaded symbols for /lib/libc.so.6

This is probably loading your system's /lib/libc.so.6.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-12 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-12 18:12 Kunal Parmar
2006-07-12 18:15 ` Daniel Jacobowitz [this message]
2006-07-21 16:14   ` Kunal Parmar
2006-07-22 20:09     ` Daniel Jacobowitz
2006-07-22 21:07       ` Paul Koning
2006-07-22 23:17         ` Daniel Jacobowitz
2006-07-23 22:36       ` Kunal Parmar

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=20060712181525.GA26898@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=kunal.parmar@codito.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