From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31869 invoked by alias); 31 Jul 2004 00:23:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31861 invoked from network); 31 Jul 2004 00:23:28 -0000 Received: from unknown (HELO e31.co.us.ibm.com) (32.97.110.129) by sourceware.org with SMTP; 31 Jul 2004 00:23:28 -0000 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e31.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id i6V0NQgM143522; Fri, 30 Jul 2004 20:23:26 -0400 Received: from austin.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i6V0LD1K416390; Fri, 30 Jul 2004 18:23:26 -0600 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i6UJKsc1075094; Fri, 30 Jul 2004 14:20:55 -0500 Date: Sat, 31 Jul 2004 00:23:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Michael Chastain cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] gdb/testsuite/gdb.exp not taking environment variable. In-Reply-To: <4109852E.nailAM721SQNX@mindspring.com> Message-ID: References: <4109852E.nailAM721SQNX@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-07/txt/msg00531.txt.bz2 Cool! I will use --tool_exec instead. Is this documented some place? for my future reference? Thanks ----- ---- Manoj Iyer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Cognito ergo sum + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ On Thu, 29 Jul 2004, Michael Chastain wrote: > Hi Manoj, > > TOOL_EXECUTABLE is not an environment variable. It's a TCL variable > which is initalized by runtest.exp in dejagnu, set by the > "--tool_exec" flag. > > So the test-runner would say: > > runtest --tool_exec /path/path/my_gdb ... > > And not: "export TOOL_EXECUTABLE=/path/path/my_gdb ; make check". > > You can do this at the 'make check' level with: > > make check RUNTESTFLAGS="--tool_exec /path/path/my_gdb" > > Or: > > export RUNTESTFLAGS="--tool_exec /path/path/my_gdb" > make -e check > > I don't want gdb/lib.exp to change the interface of an existing > variable name which is imported from runtest.exp. > > Michael C >