From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
To: Dan Kegel <dkegel@ixiacom.com>
Cc: gdb@sources.redhat.com
Subject: Re: [patch, rfc] configure option for default value of solib-search-path
Date: Sat, 13 Jul 2002 15:47:00 -0000 [thread overview]
Message-ID: <20020713174727.B30747@crack.them.org> (raw)
In-Reply-To: <3D30B60D.3040905@ixiacom.com>; from dkegel@ixiacom.com on Sat, Jul 13, 2002 at 04:21:49PM -0700
On Sat, Jul 13, 2002 at 04:21:49PM -0700, Dan Kegel wrote:
> In my cross-development environment, I need to type
>
> set solib-search-path
> /opt/hardhat/devkit/ppc/405/powerpc-hardhat-linux/lib:/opt/hardhat/devkit/ppc/405/powerpc-hardhat-linux/usr/lib:/opt/hardhat/devkit/ppc/405/target/lib:/opt/hardhat/devkit/ppc/405/target/usr/lib
>
> when I start gdb. That's just a bit awkward; I'd prefer to have it default
> to the proper value, just like the Montavista version does.
>
> Here's a patch that lets you set the initial value of this patch at
> configure time. I haven't sent in a copyright assignment, so this
> won't be accepted into the gdb tree, but I'd appreciate comments on
> whether this is the right approach. If it is, I'll gladly get the
> copyright asignment paperwork going.
>
> (Note: after applying the patch, you need to run autoconf.)
I believe that this was rejected in the past, for reference. I don't
remember why though.
(Also, it's almost certainly a solib-absolute-prefix of
/opt/hardhat/devkit/ppc/405/target that you want. I don't know that
setting a search path will work properly when the filenames and full
paths of the libraries are available... might work, but if you actually
need any shared libraries outside of target/ your program is unlikely to run
on the target :)
Or are you putting unstripped versions in one and stripped in the
other? That always makes me worry about library skew; I generally
strip the target libraries only after building a target image.
--
Daniel Jacobowitz Debian GNU/Linux Developer
MontaVista Software Carnegie Mellon University
next prev parent reply other threads:[~2002-07-13 22:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-13 15:39 Dan Kegel
2002-07-13 15:47 ` Daniel Jacobowitz [this message]
2002-07-15 17:24 ` 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=20020713174727.B30747@crack.them.org \
--to=dmj+@andrew.cmu.edu \
--cc=dkegel@ixiacom.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