From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: cross-debugging with gdbserver, why can't gdb find breakpoint function?
Date: Thu, 17 Jul 2003 20:30:00 -0000 [thread overview]
Message-ID: <20030717203016.GA28000@nevyn.them.org> (raw)
In-Reply-To: <200307171620.38131.jon.ringle@comdial.com>
On Thu, Jul 17, 2003 at 04:20:38PM -0400, Jon Ringle wrote:
>
> On Thursday 17 July 2003 04:00 pm, David Wuertele wrote:
> > Why is gdb trying to open /lib/ld.so.1? That /lib directory has
> > nothing to do with the target libs. The target libs can be found in
> > /nfsroot/lib. How do I tell gdb to look there instead of /lib?
> >
> this worked for me on my arm crossgdb:
>
> (gdb) set solib-absolute-prefix /dev/null
> (gdb) set solib-search-path /nfsroot/lib
Please, don't do it that way. For David's setup the right way is:
(gdb) set solib-absolute-prefix /nfsroot
If you can point to somewhere you looked in the documentation and
didn't see this, I'd love to improve it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-07-17 20:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-17 20:01 David Wuertele
2003-07-17 20:20 ` Jon Ringle
2003-07-17 20:30 ` Daniel Jacobowitz [this message]
2003-07-17 20:37 ` Jon Ringle
2003-07-17 21:07 ` Jon Ringle
2003-07-17 22:35 ` Kevin Buettner
2003-07-18 0:32 ` David Wuertele
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=20030717203016.GA28000@nevyn.them.org \
--to=drow@mvista.com \
--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