From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18087 invoked by alias); 19 May 2005 16:25:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17957 invoked from network); 19 May 2005 16:25:43 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 19 May 2005 16:25:43 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DYnqB-00060k-Co for gdb@sources.redhat.com; Thu, 19 May 2005 12:25:43 -0400 Date: Thu, 19 May 2005 16:25:00 -0000 From: Daniel Jacobowitz To: GDB Subject: Re: environment variables in CLI Message-ID: <20050519162543.GA23073@nevyn.them.org> Mail-Followup-To: GDB References: <20050519162310.GA26748@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050519162310.GA26748@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00195.txt.bz2 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