Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: GDB <gdb@sources.redhat.com>
Subject: environment variables in CLI
Date: Thu, 19 May 2005 16:23:00 -0000	[thread overview]
Message-ID: <20050519162310.GA26748@white> (raw)

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?

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.

Thanks,
Bob Rossi


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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19 16:23 Bob Rossi [this message]
2005-05-19 16:25 ` Daniel Jacobowitz
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=20050519162310.GA26748@white \
    --to=bob@brasko.net \
    --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