From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12029 invoked by alias); 23 Apr 2004 22:15:37 -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 12007 invoked from network); 23 Apr 2004 22:15:36 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sources.redhat.com with SMTP; 23 Apr 2004 22:15:36 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BH8xL-0001if-00; Fri, 23 Apr 2004 18:15:35 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 42E884B104; Fri, 23 Apr 2004 18:15:33 -0400 (EDT) To: gdb@sources.redhat.com, manjo@austin.ibm.com Subject: Re: testsuite questions. Message-Id: <20040423221533.42E884B104@berman.michael-chastain.com> Date: Sat, 24 Apr 2004 00:03:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-04/txt/msg00154.txt.bz2 > 1. Is there any enviroment variable that I can set to make the testcase > use my custom GDB, for instance the one in /usr/local/bin/gdb? I do this by setting $PATH. BTW, if you build your software "--prefix=...", you don't even need root access on the box. No need to touch /usr/local/bin. > 2. Is there any enviroment variable I can use to control the value of > these variables? I do this by setting $PATH. Yup, I have a little shim directory, with a script in it named "gcc" that just calls the real compiler that I want with the options I want. Ewww, it's gross! But it gets my testing done. If I just want to adjust the version of gcc that I use, I just make sure that I've configured that version of gcc using a convenient "--prefix=/.../.../..." option, and that I've actually installed that version of gcc. There's lots of code in dejagnu to test built-but-not-installed yet gcc trees, but it doesn't help me any. > The intention is to disconnect the testsuite from using the system > utilities and GDB that gets built, but use the testcase to test a > different binary of GDB that I have in a separate local/system directory. $PATH works really well for selecting the gdb to run. > Any input is greatly appreciated. You might wanna look at: ftp://ftp.shout.net/pub/users/mec/migchain/migchain-0.8.tar.gz ftp://ftp.shout.net/pub/users/mec/migbat/migbat-0.8.tar.gz http://www.shout.net/~mec/sunday/current/index.html Michael C