This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Trouble remote debugging
- From: EJS <ejshoor at yahoo dot com>
- To: gdb at sourceware dot org
- Date: Sat, 25 Feb 2006 04:48:44 -0800 (PST)
- Subject: Re: Trouble remote debugging
--- Daniel Jacobowitz <drow@false.org> wrote:
> 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.
Daniel,
Thanks for the response. That is what I thought. So I
guess my next question is why aren't the libs the
same. I thought that that was what crosstool was
supposed to do. (but thats a question for a different
list.)
Regarding solib-search-path vs solib-absolute-prefix,
I was actually setting both. I tried to set the prefix
alone, but some of the libs were in different
locations (eg /lib vs /lib/tls, etc.)
Thanks again,
J
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com