Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Nai-Hsien" <dennis@loop.com.tw>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb@sourceware.org>
Subject: Re: Debugging a shared library through gdbserver
Date: Thu, 16 Mar 2006 02:11:00 -0000	[thread overview]
Message-ID: <066d01c64893$f5e5ac60$0102000a@loop.com.tw> (raw)
In-Reply-To: <20060315142546.GC12258@nevyn.them.org>

> > 
> > # my shared library is in lib/
> > (gdb) set solib-absolute-prefix lib
> 
> That's not what solib-absolute-prefix is for.  You need to point it at
> the root of a filesystem image that matches the one running on your
> target, so that GDB can open <prefix>/lib/ld.so.1 and
> <prefix>/usr/lib/libfoo.so.  I usually use NFS for this.  If you
> do that...
Unfornately, I am using TFTP to download a RAM disk image to my board and
run it. Is there any other solution for the case?

Thank you
Dennis


  reply	other threads:[~2006-03-16  0:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15  3:44 Nai-Hsien
2006-03-15  4:16 ` Daniel Jacobowitz
2006-03-15 12:25   ` Nai-Hsien
2006-03-15 16:17     ` Daniel Jacobowitz
2006-03-16  2:11       ` Nai-Hsien [this message]
2006-03-16  3:00         ` 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='066d01c64893$f5e5ac60$0102000a@loop.com.tw' \
    --to=dennis@loop.com.tw \
    --cc=drow@false.org \
    --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