From: Paul Koning <pkoning@equallogic.com>
To: drow@false.org
Cc: gdb@sources.redhat.com
Subject: Re: shared library symbols not loaded automatically
Date: Sat, 22 Jul 2006 21:07:00 -0000 [thread overview]
Message-ID: <17602.36034.46000.74380@gargle.gargle.HOWL> (raw)
In-Reply-To: <20060722200909.GA21091@nevyn.them.org>
>>>>> "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...
paul
next prev parent reply other threads:[~2006-07-22 20:38 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 [this message]
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=17602.36034.46000.74380@gargle.gargle.HOWL \
--to=pkoning@equallogic.com \
--cc=drow@false.org \
--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