From: Peter Barada <peter@baradas.org>
To: drow@mvista.com
Cc: pbarada@mail.wm.sps.mot.com, gdb@sources.redhat.com,
libc-alpha@sources.redhat.com
Subject: Re: Trouble with gdbserver from gdb-5.3, glibc-2.3.2 on ppc32
Date: Wed, 10 Sep 2003 00:34:00 -0000 [thread overview]
Message-ID: <20030910003413.049E59899C@baradas.org> (raw)
In-Reply-To: <20030909213003.GA5878@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 9 Sep 2003 17:30:03 -0400)
> > I'm trying to bring up gdbserver2 on an ppc32 embedded linux platform, and
>
> What's gdbserver2? I'll just quietly assume you mean gdbserver...
Duh. I have two versions of gdbserver around, won back from gdb-41.7
that I went through massive pains to get to build , and a newer one
from gdb-5.3.
> Read the source of libthread_db? No, really. Then start another
> gdbserver debugging gdbserver, and step through td_ta_new. It fetches
> the version. This could be a symptom of symbol lookup being messed up,
> that's almost always the problem. Versions of the library on host and
> target match? GDB found the rght target libraries?
Uggh. Ok, I'll try this method(and add code to td_ta_new to dump why
its tossing TD_VERSION). I believe that the versions have to match
since I copy the librairs from the cross-compiled toolchain into the
target's /lib directory; how they can differ isn't obvious to me.
I would have thought that building up a toolchain using Dan's
crosstool script would get me what I want. I read the description of
solib-absolute-prefix, but it doesn't shed much light on why the
*target* is complaining. I don't see in the remote protocol how it
can ask for a particular library, so I'll dig depper and then get back
to the mailing list.
But back to my original(and probably stupid) question. Is there any
way to extract information(using readelf, ldd, etc) to determine the
version of the cross-built libpthread.so and libthread_db.so libraries?
--
Peter Barada
peter@baradas.org
next prev parent reply other threads:[~2003-09-10 0:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-09 20:32 Peter Barada
2003-09-09 20:46 ` Roland McGrath
2003-09-09 21:15 ` Peter Barada
2003-09-09 21:24 ` Roland McGrath
2003-09-09 21:23 ` Daniel Jacobowitz
2003-09-09 21:30 ` Daniel Jacobowitz
2003-09-09 21:39 ` Roland McGrath
2003-09-09 21:40 ` Daniel Jacobowitz
2003-09-10 0:18 ` Peter Barada
2003-09-10 17:41 ` Peter Barada
2003-09-10 18:58 ` Peter Barada
2003-09-10 0:34 ` Peter Barada [this message]
2003-09-10 0:49 ` Dan Kegel
2003-09-10 0:53 ` Peter Barada
2003-09-09 21:45 ` Dan Kegel
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=20030910003413.049E59899C@baradas.org \
--to=peter@baradas.org \
--cc=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=libc-alpha@sources.redhat.com \
--cc=pbarada@mail.wm.sps.mot.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