From patchwork Sat Dec 13 23:45:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 4240 Received: (qmail 13134 invoked by alias); 13 Dec 2014 23:46:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 13119 invoked by uid 89); 13 Dec 2014 23:46:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 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-pa0-f43.google.com Received: from mail-pa0-f43.google.com (HELO mail-pa0-f43.google.com) (209.85.220.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 13 Dec 2014 23:46:38 +0000 Received: by mail-pa0-f43.google.com with SMTP id kx10so9466836pab.16 for ; Sat, 13 Dec 2014 15:46:37 -0800 (PST) X-Received: by 10.70.91.176 with SMTP id cf16mr38653986pdb.100.1418514397167; Sat, 13 Dec 2014 15:46:37 -0800 (PST) Received: from sspiff.org (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id ra2sm5152187pbc.27.2014.12.13.15.46.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Dec 2014 15:46:36 -0800 (PST) Received: by sspiff.org (sSMTP sendmail emulation); Sat, 13 Dec 2014 15:45:43 -0800 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH] testsuite/boards/stabs.exp Date: Sat, 13 Dec 2014 15:45:43 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. The easiest way for me to remember how to run the testsuite in a certain configuration is if there is a board file for it. Thus ... 2014-12-13 Doug Evans * boards/stabs.exp: New file. diff --git a/gdb/testsuite/boards/stabs.exp b/gdb/testsuite/boards/stabs.exp new file mode 100644 index 0000000..cf7ea7a --- /dev/null +++ b/gdb/testsuite/boards/stabs.exp @@ -0,0 +1,33 @@ +# Copyright 2014 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This file is a dejagnu "board file" and is used to run the testsuite +# with stabs support. +# +# Example usage: +# bash$ make check RUNTESTFLAGS='--target_board=stabs' + +# This is copied from baseboards/unix.exp. +# At the moment this only supports things that unix.exp supports. +load_generic_config "unix" +process_multilib_options "" +set_board_info compiler "[find_gcc]" + +set_board_info debug_flags "-gstabs" + +# This is needed otherwise dejagnu tries to rsh to host "fission". Blech. +# Double blech: set_board_info only sets the value if not already set. +unset_board_info isremote +set_board_info isremote 0