This is the mail archive of the gdb-patches@sources.redhat.com 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: Remote target (CRIS) DejaGNU config scripts


On Thu, Feb 19, 2004 at 05:32:52PM +0100, Orjan Friberg wrote:
> The CRIS target I'm running the DejaGNU testsuite on runs Linux.  Since 
> I'm having problems running a few of the testcases and there seem to be 
> quite a few DejaGNU configurations for remote targets I was wondering if 
> the way I've implemented the CRIS-specific files is totally backwards. 
> (There's no on-chip support for downloading code, like a monitor ROM or 
> similar.)  Thanks in advance for any suggestions.

It sounds like you're doing this the hard way :)  If you are using
current CVS GDB, then you can use the gdbserver-sample.exp baseboard in
current DejaGNU as a template.  Please do change the paths - I have
absolutely no idea how that file I posted to gdb@ some months ago ended
up in a DejaGNU release :)

I've attached a modified version that I'm using as I type.  It works
pretty much OK.  You may need to change host_exec to server_exec in the
call to gdbserver_gdb_load in config/gdbserver.exp, depending on your
setup.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Attachment: gdbserver-board.exp
Description: Text document


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