This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: add bare_board variable


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 *<addr>' ?


nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]