From: 'Daniel Jacobowitz' <drow@false.org>
To: Avi Gozlan <avi@checkpoint.com>
Cc: gdb@sourceware.org
Subject: Re: symbol files and source files of shared objects when debugging remote target
Date: Sat, 23 Dec 2006 21:25:00 -0000 [thread overview]
Message-ID: <20061223212431.GB1091@nevyn.them.org> (raw)
In-Reply-To: <200612211241.kBLCf16B014561@michael.checkpoint.com>
On Thu, Dec 21, 2006 at 02:40:23PM +0200, Avi Gozlan wrote:
> 2) When I run 'set solib-search-path path' on the host, I get the following
> warning several times on the target:
>
> gdb: error initializing thread_db library: version mismatch between
> libthread_db and libpthread.
Then it is very likely you are pointed at the wrong libraries.
> By the way, when the program symbol file loads, I get the following message:
> Using host libthread_db library "/lib/tls/libthread_db.so.1"
> But when running "info share" I don't see libthread_db.so.1 but rather
> /lib/tls/libpthread.so.0
That's unrelated.
> 3) Why it is necessary to run 'set solib-search-path' only after the program
> enters user entry point? Running it beforehand left the so symbols unloaded.
> The implication is that the command cannot be executed during gdb
> initialization (e.g. in ini file).
Try using solib-absolute-prefix. It probably found the wrong ld.so.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-12-23 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 11:37 Avi Gozlan
2006-12-12 14:45 ` Daniel Jacobowitz
2006-12-21 12:41 ` Avi Gozlan
2006-12-23 21:25 ` 'Daniel Jacobowitz' [this message]
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=20061223212431.GB1091@nevyn.them.org \
--to=drow@false.org \
--cc=avi@checkpoint.com \
--cc=gdb@sourceware.org \
/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