This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: add bare_board variable
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 19 Jul 2006 12:04:21 -0400
- Subject: Re: add bare_board variable
- References: <4489E39C.80900@codesourcery.com>
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.
I recently modified gdb1555.exp in such a way that I don't think your
patch is necessary any more.
> 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?
--
Daniel Jacobowitz
CodeSourcery