From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1460 invoked by alias); 11 May 2006 09:44:56 -0000 Received: (qmail 1451 invoked by uid 22791); 11 May 2006 09:44:55 -0000 X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO duck.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 09:44:54 +0000 Received: from [::1] (duck.specifix.com [64.220.152.99]) by duck.specifix.com (Postfix) with ESMTP id 73890FC5E; Thu, 11 May 2006 02:44:52 -0700 (PDT) From: Fred Fish Reply-To: fnf@specifix.com To: gdb-patches@sourceware.org Subject: [RFA] Don't try to run auxv tests in simulator Date: Thu, 11 May 2006 09:44:00 -0000 User-Agent: KMail/1.9.1 Cc: fnf@specifix.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605110545.35426.fnf@specifix.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00209.txt.bz2 AFAIK all available simulators don't support auxv info, so trying to run the auxv tests will fail. They also need corefile support. I see that corefile.exp has: # are we on a target board if ![isnative] then { return } which may be too restrictive for auxv. So I'd propose suppressing the auxv tests just for simulators, for now at least. 2006-05-11 Fred Fish * gdb.base/auxv.exp: Simulators don't support auxv info so don't run test if executing in a simulator. Index: gdb.base/auxv.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/auxv.exp,v retrieving revision 1.4 diff -u -p -r1.4 auxv.exp --- gdb.base/auxv.exp 2 May 2005 20:57:30 -0000 1.4 +++ gdb.base/auxv.exp 11 May 2006 09:43:40 -0000 @@ -30,6 +30,12 @@ if $tracelevel then { set prms_id 0 set bug_id 0 +# Simulators don't support auxv. +if [target_info exists is_simulator] { + unsupported "auxv tests running in simulator" + return +} + set testfile "auxv" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile}