Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon.ringle@comdial.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:37:00 -0000	[thread overview]
Message-ID: <200307171637.28781.jon.ringle@comdial.com> (raw)
In-Reply-To: <20030717203016.GA28000@nevyn.them.org>

On Thursday 17 July 2003 04:30 pm, Daniel Jacobowitz wrote:
> 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.

(gdb) help set solib-search-path
Set the search path for loading non-absolute shared library symbol files.
This takes precedence over the environment variables PATH and LD_LIBRARY_PATH.

The help here doesn't imply that /lib will be suffixed to the 
solib-search-path setting...


  reply	other threads:[~2003-07-17 20:37 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
2003-07-17 20:37     ` Jon Ringle [this message]
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=200307171637.28781.jon.ringle@comdial.com \
    --to=jon.ringle@comdial.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