From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25952 invoked by alias); 14 Dec 2014 17:23:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25940 invoked by uid 89); 14 Dec 2014 17:23:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f53.google.com Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 14 Dec 2014 17:23:16 +0000 Received: by mail-wg0-f53.google.com with SMTP id l18so12874001wgh.12 for ; Sun, 14 Dec 2014 09:23:13 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.90.16 with SMTP id bs16mr24391113wib.4.1418577793445; Sun, 14 Dec 2014 09:23:13 -0800 (PST) Received: by 10.27.132.70 with HTTP; Sun, 14 Dec 2014 09:23:13 -0800 (PST) In-Reply-To: <20141214132031.GQ5457@adacore.com> References: <87ioheviwk.fsf@codesourcery.com> <20141214132031.GQ5457@adacore.com> Date: Sun, 14 Dec 2014 17:23:00 -0000 Message-ID: Subject: Re: [PATCH] testsuite/boards/stabs.exp From: Doug Evans To: Joel Brobecker Cc: Yao Qi , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00355.txt.bz2 On Sun, Dec 14, 2014 at 5:20 AM, Joel Brobecker wrote: >> Alternatively, we can referencehttps://sourceware.org/gdb/wiki/TestingGDB , >> passing CFLAGS_FOR_TARGET='-gstabs' to dejagnu is convenient too, so I >> don't see the necessity to add a new board file to do that. > > Another idea I thought about yesterday was to write a small python > script that takes arguments on the command line and then calls make > the right way for us, potentially even generating board files if > necessary. The interesting bit in the script is the ability to call > it with --help... One nice thing about a board file for a specific purpose is that it's a place to document issues related to that purpose. And even add complexities related to that purpose. Given that -g -gstabs != -gstabs -g, I think we want to document that. And also given that -gstabs != -gstabs -g, we *may* (though I don't have as strong an opinion on this as we're trying to kill^wstab stabs :-)) want a way to run stabs both ways. E.g., bool.exp passes one way, and fails the other. The stabs board file could be the repository for "all things stabs".