From: Daniel Jacobowitz <drow@mvista.com>
To: Yu kenny-a18604 <kenny.yu@motorola.com>
Cc: gdb@sources.redhat.com
Subject: Re: How to define shared libray symbol file for GDB in cross debug en vironment?
Date: Wed, 12 Feb 2003 15:00:00 -0000 [thread overview]
Message-ID: <20030212150018.GA7323@nevyn.them.org> (raw)
In-Reply-To: <89DEFCC5DB33D411A27F00508BCF8A8206168277@ZCH07EXM05.corp.mot.com>
On Wed, Feb 12, 2003 at 06:59:16PM +0800, Yu kenny-a18604 wrote:
> Hi, all:
>
> Here I have trouble in using GDB.
>
> I am in a cross-compiler environment. Host is x86 PC and target is xscale-arm. I've been succeeding in connect arm-gdbserver from host PC. Also I loaded symbol file of my binary - elf.out. But now the trouble is:
>
> There is some shared libraies like libmydb.so I want to load it in host as a symbol file. GDB 'sharedlibrary' command just search this shared-symbol-file in a fixed path - /usr/lib. I could not copy libmydb.so to /usr/lib cause there is a x86 shared library there with the same name. I can't change it now.
>
> So my question is how to direct gdb-host to load shared library symbol file in specific path, for example, /myhome/target(/libmydb.so)?
Look at "set solib-absolute-prefix" and "set solib-search-path".
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-02-12 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-12 10:59 Yu kenny-a18604
2003-02-12 15:00 ` Daniel Jacobowitz [this message]
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=20030212150018.GA7323@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=kenny.yu@motorola.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