From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13780 invoked by alias); 19 Jul 2006 15:53:16 -0000 Received: (qmail 13769 invoked by uid 22791); 19 Jul 2006 15:53:15 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Jul 2006 15:53:13 +0000 Received: (qmail 9657 invoked from network); 19 Jul 2006 15:53:11 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Jul 2006 15:53:11 -0000 Message-ID: <44BE5581.2050100@codesourcery.com> Date: Wed, 19 Jul 2006 15:53:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: add bare_board variable References: <4489E39C.80900@codesourcery.com> In-Reply-To: <4489E39C.80900@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-07/txt/msg00256.txt.bz2 ping? Nathan Sidwell wrote: > This patch adds a bare_board target_info variable to skip a couple of tests that > presume some kind of OS is running. > > The start.exp test doesn't work when a gdb stub is being used. > > ok? > > nathan > > > ------------------------------------------------------------------------ > > 2006-06-09 Nathan Sidwell > > gdb/testsuite/ > * gdb.base/auxv.exp: Skip if bare_board > * gdb.base/gdb1555.exp: Likewise. > * gdb.base/start.exp: Skip if use_gdb_stub. > > Index: gdb/testsuite/gdb.base/auxv.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/auxv.exp,v > retrieving revision 1.4 > diff -c -3 -p -r1.4 auxv.exp > *** gdb/testsuite/gdb.base/auxv.exp 2 May 2005 20:57:30 -0000 1.4 > --- gdb/testsuite/gdb.base/auxv.exp 9 Jun 2006 21:03:25 -0000 > *************** > *** 23,28 **** > --- 23,33 ---- > # This file is based on corefile.exp which was written by Fred > # Fish. (fnf@cygnus.com) > > + if [target_info exists bare_board] then { > + verbose "Skipping auxv.exp because of bare_board." > + return > + } > + > if $tracelevel then { > strace $tracelevel > } > Index: gdb/testsuite/gdb.base/gdb1555.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/gdb1555.exp,v > retrieving revision 1.1 > diff -c -3 -p -r1.1 gdb1555.exp > *** gdb/testsuite/gdb.base/gdb1555.exp 18 Feb 2004 03:35:08 -0000 1.1 > --- gdb/testsuite/gdb.base/gdb1555.exp 9 Jun 2006 21:03:26 -0000 > *************** > *** 21,26 **** > --- 21,31 ---- > # a shared library (PR gdb/1555, was PR shlib/1280, shlib/1237). > # Tested on ppc-yellowdog-linux (Yellow Dog Linux 3.0 3.2.2-2a) > > + if [target_info exists bare_board] then { > + verbose "Skipping gdb1555.exp because of bare_board." > + return > + } > + > if $tracelevel then { > strace $tracelevel > } > Index: gdb/testsuite/gdb.base/start.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/start.exp,v > retrieving revision 1.1 > diff -c -3 -p -r1.1 start.exp > *** gdb/testsuite/gdb.base/start.exp 9 Feb 2005 19:58:23 -0000 1.1 > --- gdb/testsuite/gdb.base/start.exp 9 Jun 2006 21:03:26 -0000 > *************** > *** 14,19 **** > --- 14,24 ---- > # along with this program; if not, write to the Free Software > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > > + if [target_info use_gdb_stub] { > + verbose "Skipping start.exp because of use_gdb_stub." > + return > + } > + > if $tracelevel then { > strace $tracelevel > } -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk