From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5983 invoked by alias); 19 Jul 2006 16:18:35 -0000 Received: (qmail 5971 invoked by uid 22791); 19 Jul 2006 16:18:34 -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 16:18:31 +0000 Received: (qmail 11084 invoked from network); 19 Jul 2006 16:18:29 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Jul 2006 16:18:29 -0000 Message-ID: <44BE5B70.4000808@codesourcery.com> Date: Wed, 19 Jul 2006 16:18:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: Nathan Sidwell , gdb-patches@sourceware.org Subject: Re: add bare_board variable References: <4489E39C.80900@codesourcery.com> <20060719160421.GA23142@nevyn.them.org> In-Reply-To: <20060719160421.GA23142@nevyn.them.org> 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/msg00258.txt.bz2 Daniel Jacobowitz wrote: > On Fri, Jun 09, 2006 at 10:09:48PM +0100, 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. > > I don't really like this. They don't presume "some OS"; the presume > OS's with specific capabilities. > > auxv.exp will only pass on Linux and solaris2; a target test would be > OK. Want to do that? Just istarget; they should pass even for remote > targets. Ok, I'll address that >> The start.exp test doesn't work when a gdb stub is being used. > > Do you think that start should work for remote targets, and be > equivalent to "tbreak main; continue" instead of "tbreak main; run"? > Or maybe it should issue an error instead of trying to run? Although 'tbreak main; continue' would be nice, it'll only work after a load, otherwise the state won't be right. Or, can gdb pull the entry point address out of the current file and do 'tbreak main; j *' ? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk