From: Daniel Jacobowitz <drow@false.org>
To: EJS <ejshoor@yahoo.com>
Cc: gdb@sourceware.org
Subject: Re: Trouble remote debugging
Date: Sat, 25 Feb 2006 23:18:00 -0000 [thread overview]
Message-ID: <20060225043900.GA13941@nevyn.them.org> (raw)
In-Reply-To: <20060225013054.86448.qmail@web35613.mail.mud.yahoo.com>
On Fri, Feb 24, 2006 at 05:30:54PM -0800, EJS wrote:
> One thing that I noticed is that the symbol tables for
> the cross compiled shlibs are different than the ones
> on the target (I checked this via objdump -T). Is this
> the problem? If so how do I make them the same?
You _must_ use the same libraries on both sides. The ones on the
target can be stripped, but that's it - otherwise they must match.
If you are running the program on a prebuilt native target, copy its
libraries to your debug host. If you want to use the crosstool
libraries, copy them to the appropriate locations on your target.
You will probably want to use solib-absolute-prefix rather than
solib-search-path; see the archives of this list for more information
on that.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-02-25 4:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-25 12:48 EJS
2006-02-25 23:18 ` Daniel Jacobowitz [this message]
2006-02-27 15:02 ` EJS
2006-02-27 15:07 ` Daniel Jacobowitz
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=20060225043900.GA13941@nevyn.them.org \
--to=drow@false.org \
--cc=ejshoor@yahoo.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