From: Daniel Jacobowitz <drow@false.org>
To: Orjan Friberg <orjan.friberg@axis.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Remote target (CRIS) DejaGNU config scripts
Date: Thu, 19 Feb 2004 17:19:00 -0000 [thread overview]
Message-ID: <20040219171932.GA2598@nevyn.them.org> (raw)
In-Reply-To: <4034E534.3070606@axis.com>
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
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 #2: gdbserver-board.exp --]
[-- Type: text/plain, Size: 1342 bytes --]
# gdbserver running over rsh.
load_generic_config "gdbserver";
process_multilib_options "";
# The default compiler for this target.
#set_board_info compiler "[find_gcc]";
set_board_info assembler "arm_v5t_le-as";
set_board_info compiler "arm_v5t_le-gcc";
set_board_info c++compiler "arm_v5t_le-g++";
set_board_info rsh_prog /usr/bin/rsh
set_board_info rcp_prog /usr/bin/rcp
set_board_info protocol standard
set_board_info hostname innovator
set_board_info username tools
set_board_info gdb_server_prog /usr/bin/gdbserver
# We will be using the standard GDB remote protocol
set_board_info gdb_protocol "remote"
# Name of the computer whose socket will be used, if required.
set_board_info sockethost "innovator:"
# Port ID to use for socket connection
# set_board_info gdb,socketport "4004"
# Use techniques appropriate to a stub
set_board_info use_gdb_stub 1;
# This gdbserver can only run a process once per session.
set_board_info gdb,do_reload_on_run 1;
# There's no support for argument-passing (yet).
set_board_info noargs 1
# Can't do input (or output) in the current gdbserver.
set_board_info gdb,noinferiorio 1
# Can't do hardware watchpoints, in general
set_board_info gdb,no_hardware_watchpoints 1;
global board_info
set board_info(innovator,rsh_prog) /usr/bin/rsh
set board_info(innovator,rcp_prog) /usr/bin/rcp
next prev parent reply other threads:[~2004-02-19 17:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-19 16:32 Orjan Friberg
2004-02-19 17:19 ` Daniel Jacobowitz [this message]
2004-02-23 15:37 ` Orjan Friberg
2004-02-23 15:39 ` Daniel Jacobowitz
2004-02-23 15:51 ` Orjan Friberg
2004-02-23 16:33 ` Orjan Friberg
2004-02-23 16:47 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040219171932.GA2598@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=orjan.friberg@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox