From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15841 invoked by alias); 19 May 2005 16:23:25 -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 15757 invoked from network); 19 May 2005 16:23:15 -0000 Received: from unknown (HELO lakermmtao10.cox.net) (68.230.240.29) by sourceware.org with SMTP; 19 May 2005 16:23:15 -0000 Received: from white ([68.9.64.121]) by lakermmtao10.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050519162311.PGMF7787.lakermmtao10.cox.net@white> for ; Thu, 19 May 2005 12:23:11 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DYnni-000795-00 for ; Thu, 19 May 2005 12:23:10 -0400 Date: Thu, 19 May 2005 16:23:00 -0000 From: Bob Rossi To: GDB Subject: environment variables in CLI Message-ID: <20050519162310.GA26748@white> Mail-Followup-To: GDB Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2005-05/txt/msg00194.txt.bz2 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