From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2474 invoked by alias); 29 Jan 2008 20:22:20 -0000 Received: (qmail 2465 invoked by uid 22791); 29 Jan 2008 20:22:20 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.180) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jan 2008 20:21:57 +0000 Received: by py-out-1112.google.com with SMTP id v53so2589275pyh.33 for ; Tue, 29 Jan 2008 12:21:55 -0800 (PST) Received: by 10.35.68.3 with SMTP id v3mr8411872pyk.12.1201638115317; Tue, 29 Jan 2008 12:21:55 -0800 (PST) Received: by 10.35.36.15 with HTTP; Tue, 29 Jan 2008 12:21:55 -0800 (PST) Message-ID: <8f2776cb0801291221g106e39acw493a3b9e0a8e7798@mail.gmail.com> Date: Tue, 29 Jan 2008 20:22:00 -0000 From: "Jim Blandy" To: "M R Swami Reddy" Subject: Re: gdb testsuite Cc: gdb@sourceware.org In-Reply-To: <479EC263.3060107@nsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4799B660.2080905@nsc.com> <8f2776cb0801251016y1a4cfbcfp35fab5ecacee8b1d@mail.gmail.com> <479D62DA.4080100@nsc.com> <8f2776cb0801281050w4ae2d83fw53b793ba633302e1@mail.gmail.com> <479EC263.3060107@nsc.com> X-Google-Sender-Auth: 8b7346f0565addcf X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00314.txt.bz2 In gdb.log, I see the below. Note that the test suite tries to run the program with a direct "run" command, with no 'target sim'. I think you need to write an appropriate DejaGnu configuration file for your target. I believe there are existing files included with DejaGnu that might be appropriate for you to model yours on, with names ending in "-sim", or something like that. Running ../../../gdb-6.6/gdb/testsuite/gdb.base/a2-run.exp ... Executing on host: cr16-elf-gcc ../../../gdb-6.6/gdb/testsuite/gdb.base/run.c -g -lm -o /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run (timeout = 300) GNU gdb 6.6-1.0 20080109 (cr16-elf) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=cr16-elf". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir ../../../gdb-6.6/gdb/testsuite/gdb.base Source directories searched: /scratch/user/swami/gdb/build/gdb/testsuite/../../../gdb-6.6/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run Reading symbols from /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run...done. (gdb) run Starting program: /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run Don't know how to run. Try "help target". (gdb) FAIL: gdb.base/a2-run.exp: run "run" with no args