This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: environment variables in CLI
- From: Daniel Jacobowitz <drow at false dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Thu, 19 May 2005 12:25:43 -0400
- Subject: Re: environment variables in CLI
- References: <20050519162310.GA26748@white>
On Thu, May 19, 2005 at 12:23:10PM -0400, Bob Rossi wrote:
> Hi,
>
> I'm trying to figure out how to set the LD_LIBRARY_PATH in GDB once I
> start it up. The command 'set environment
> LD_LIBRARY_PATH=/home/foo/lib' works. However, I want to do something
> like 'set environment LD_LIBRARY_PATH=$SOME_PATH/lib:$LD_LIBRARY_PATH'.
> Is this possible from the CLI?
Nope.
> Actually, I couldn't figure out how to tell GDB where to look for shared
> objects, that's why I ended up using the LD_LIBRARY_PATH.
set solib-search-path? set solib-absolute-prefix? What are you trying
to do?
--
Daniel Jacobowitz
CodeSourcery, LLC