From: Daniel Jacobowitz <drow@false.org>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: "Vellemans, Noel" <Noel.Vellemans@visionbms.com>, gdb@sourceware.org
Subject: Re: Q: GDB - Threads
Date: Tue, 02 Jun 2009 18:17:00 -0000 [thread overview]
Message-ID: <20090602181723.GA11310@caradoc.them.org> (raw)
In-Reply-To: <8ac60eac0906020941w3064fa70l263b316358c9e38f@mail.gmail.com>
On Tue, Jun 02, 2009 at 09:41:19AM -0700, Paul Pluzhnikov wrote:
> > Both libs have been build on the same system.. (buildroot)..
> > Even started from scratch....
> > 88 -rw-r--r-- 1 noel noel 82178 2009-06-02 16:23 libpthread-0.9.30.1.so
> > 16 -rw-r--r-- 1 noel noel 13171 2009-06-02 16:23 libthread_db-0.9.30.1.so
>
> The identical time stamp implies that these were both installed at the
> same time, which means they are both built for *target*.
>
> But you need an identical libthread_db built for *host*.
>
> This is because GDB (on host) will try to dlopen() libthread_db (which
> helps it debug *target* libpthread).
I'm not sure what you mean. GDB never uses libthread_db on the host
if it is debugging a remote target.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-06-02 18:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 16:02 Vellemans, Noel
2009-05-26 22:08 ` Hui Zhu
2009-06-02 15:27 ` Vellemans, Noel
2009-06-02 16:41 ` Paul Pluzhnikov
2009-06-02 18:17 ` Daniel Jacobowitz [this message]
2009-06-02 18:34 ` Paul Pluzhnikov
2009-06-02 19:34 ` Daniel Jacobowitz
2009-06-03 15:21 ` Vellemans, Noel
2009-06-02 19:42 ` Paul Pluzhnikov
2009-06-03 3:17 ` Hui Zhu
2009-06-03 9:26 ` Vellemans, Noel
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=20090602181723.GA11310@caradoc.them.org \
--to=drow@false.org \
--cc=Noel.Vellemans@visionbms.com \
--cc=gdb@sourceware.org \
--cc=ppluzhnikov@google.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