From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5971 invoked by alias); 23 Apr 2004 17:59:33 -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 5964 invoked from network); 23 Apr 2004 17:59:33 -0000 Received: from unknown (HELO e34.co.us.ibm.com) (32.97.110.132) by sources.redhat.com with SMTP; 23 Apr 2004 17:59:33 -0000 Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32]) by e34.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i3NHxWjN525470 for ; Fri, 23 Apr 2004 13:59:32 -0400 Received: from austin.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i3NHxUP3204840 for ; Fri, 23 Apr 2004 11:59:31 -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 i3NHxUnk058526 for ; Fri, 23 Apr 2004 12:59:30 -0500 Date: Fri, 23 Apr 2004 18:15:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb@sources.redhat.com Subject: testsuite questions. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-04/txt/msg00151.txt.bz2 I am trying to compare the test results from the GDB I built vs the GDB installed on the system. I found that if I set GDB "/usr/bin/mygdb" in the testcases.exp file, the testcase uses my custom GDB instead of searching for one in src/gdb/. 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? Also, when the testcase '.c' file is compiled, the compile line ignores any CFLAGS or CC variables that I set, I found that gdb_compile and target-compile use CFLAGS_FOR_TARGET and CC_FOR_TARGET varialbles. I would like to use my custom compiler and compile the testcase as a 64bit binary (-m64 flag). 2. Is there any enviroment variable I can use to control the value of these variables? 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. This way I can compare the test results from system gdb (or any gdb binary forthat matter) with the one that I downloaded from cvs. Any input is greatly appreciated. Thanks Manjo