Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: John Utz <John.Utz@dmxmusic.com>
Cc: gdb@sources.redhat.com, crossgcc@sourceware.org
Subject: Re: gdb on fc6, gdbserver on rh62, which libthread_db.so do i use  on which platform?
Date: Fri, 29 Dec 2006 17:43:00 -0000	[thread overview]
Message-ID: <20061229174318.GA16093@nevyn.them.org> (raw)
In-Reply-To: <F8FB97052F1BEF409F7842E960E49B5ACECFF1@sea-exch-01.na.corp.dmxmusic.com>

On Fri, Dec 29, 2006 at 09:33:39AM -0800, John Utz wrote:
> gdb indicates that my application is segfaulting, and based on googling
> and finding my *own* email from 2004 and danielj's response, I know that
> I need to have matching libthread_db's on both sides of the wire.
> 
> *which* libthread_db?

That's incorrect.  You need matching _libraries_ - that's the libraries
used by your program, not the libraries used by GDB.  The gdb client
will never look at its libthread_db.

On your target, you should have the libthread_db that came with the
libpthread you're using.  On the host, you should have a complete
filesystem image of the target.  Use solib-absolute-prefix to point to
it.

I really need to write a section about this in the manual.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-12-29 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-29 17:34 John Utz
2006-12-29 17:43 ` 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=20061229174318.GA16093@nevyn.them.org \
    --to=drow@false.org \
    --cc=John.Utz@dmxmusic.com \
    --cc=crossgcc@sourceware.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