From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5722 invoked by alias); 5 Feb 2003 22:18:26 -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 5715 invoked from network); 5 Feb 2003 22:18:25 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 5 Feb 2003 22:18:25 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h15MIPf29793 for ; Wed, 5 Feb 2003 17:18:25 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h15MIPa09480; Wed, 5 Feb 2003 17:18:25 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h15MIOt17193; Wed, 5 Feb 2003 17:18:24 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id 3F649FF79; Wed, 5 Feb 2003 17:22:35 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15937.36522.796188.276377@localhost.redhat.com> Date: Wed, 05 Feb 2003 22:18:00 -0000 To: Michael Elizabeth Chastain Cc: carlton@math.stanford.edu, fnasser@redhat.com, gdb@sources.redhat.com Subject: Re: Clean up gdb.c++ tests for dwarf 1 In-Reply-To: <200302052130.h15LUHB10715@duracef.shout.net> References: <200302052130.h15LUHB10715@duracef.shout.net> X-SW-Source: 2003-02/txt/msg00115.txt.bz2 Michael Elizabeth Chastain writes: > gdb HEAD%20030205 has loads of this stuff in the C++ test suite: > > setup_xfail_format "DWARF 1" > > There are 81 instances of this. > > Some test scripts have them, and some don't. I'd like to get rid > of them and replace them with something more coherent -- or nothing. > > I see four choices. > > (1) Just remove these calls to setup_xfail_format. If someone runs the > gdb test suite with DWARF 1, the test suite will do its job and give > FAIL results for all the C++ tests that do not work with DWARF 1. > > (2) Change the tests so that each C++ test script reports a single > UNSUPPORTED for the whole script (if the debug format is DWARF 1). > > This requires about five lines of code per script. This cannot be > centralized in 'skip_cplus_tests', because the check for the debug > format has to happen after the test script has compiled the test > program, started gdb, and proceeded to main, so that 'info source' > works. > > (3) Leave the mess alone. > > (4) Start fixing the DWARF 1 support. I'll start testing DWARF 1 and > filing bug reports for the things that don't work. > > My preference order is (1) - (2) - (3) - (4). > > What do you think? > > Michael C My preferences are (1) (1) (1) (1) (1) (1)..... elena