From: Daniel Jacobowitz <drow@false.org>
To: Paul Koning <pkoning@equallogic.com>
Cc: gdb@sources.redhat.com
Subject: Re: shared library symbols not loaded automatically
Date: Sat, 22 Jul 2006 23:17:00 -0000 [thread overview]
Message-ID: <20060722210741.GA22179@nevyn.them.org> (raw)
In-Reply-To: <17602.36034.46000.74380@gargle.gargle.HOWL>
On Sat, Jul 22, 2006 at 04:38:26PM -0400, Paul Koning wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>
> Daniel> On Fri, Jul 21, 2006 at 08:12:56PM +0530, Kunal Parmar wrote:
> >> Hi Daniel, I am not clear how setting solib-absolute-prefix will
> >> solve this problem. The manual says that it is used as a prefix
> >> for searching the libraries at runtime. When I use the command
> >> sharedlibrary at the gdb prompt, the libraries are correctly
> >> loaded. Doesn't this mean that I do not need to set the
> >> solib-absolute-prefix??
>
> Daniel> Not if they're the wrong libraries.
>
> Daniel> You may be loading literally "/lib/libc.so.6" on your host -
> Daniel> an i386 library.
>
> It would be a good feature if GDB didn't do that for crossbuilds,
> because it can't possibly be correct...
Yes, I agree. I invite you to implement it before I get around to it
:-)
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-07-22 21:07 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
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 [this message]
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=20060722210741.GA22179@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=pkoning@equallogic.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