Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: GDB <gdb@sources.redhat.com>
Subject: Re: environment variables in CLI
Date: Thu, 19 May 2005 16:25:00 -0000	[thread overview]
Message-ID: <20050519162543.GA23073@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2005-05-19 16:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19 16:23 Bob Rossi
2005-05-19 16:25 ` Daniel Jacobowitz [this message]
2005-05-19 16:43   ` Bob Rossi
2005-05-19 16:50     ` Bob Rossi
2005-05-19 17:08     ` Daniel Jacobowitz
2005-05-19 17:33       ` Bob Rossi
2005-05-19 18:10         ` 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=20050519162543.GA23073@nevyn.them.org \
    --to=drow@false.org \
    --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