Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ben Elliston <bje@redhat.com>
To: gdb-patches@sources.redhat.com
Cc: Graydon Hoare <graydon@redhat.com>
Subject: [RFA] patch to testsuite/config/sid.exp
Date: Mon, 29 Apr 2002 15:18:00 -0000	[thread overview]
Message-ID: <15565.50894.249002.589173@tooth.toronto.redhat.com> (raw)

The following patch (submitted on behalf of Graydon Hoare) adds
support for testing GDB on SID simulators using a new mode of
invocation.  Okay to commit?

Ben


2002-02-14  Graydon Hoare  <graydon@redhat.com>

	* config/sid.exp: Include support for "rawsid" protocol.

Index: config/sid.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/config/sid.exp,v
retrieving revision 1.25
diff -u -p -r1.25 sid.exp
--- sid.exp	2002/04/05 23:31:59	1.25
+++ sid.exp	2002/04/29 22:16:49
@@ -53,6 +53,8 @@ proc sid_start {} {
 	}
 	if { [board_info target sim,protocol] == "sid" } {
 	    set spawncmd "[target_info sim] [target_info sim,options] $sidendian2 -e \"set cpu-gdb-socket sockaddr-local 0.0.0.0:$port\""
+	} elseif { [board_info target sim,protocol] == "rawsid" } {
+	    set spawncmd "[target_info sim] [target_info sim,options] -$sidendian --gdb=$port"
 	} else {
 	    set spawncmd "../../sid/bsp/[target_info sim] $sidendian --gdb=$port [target_info sim,options]"
 	}
@@ -67,6 +69,8 @@ proc sid_start {} {
 	    # FIXME: sim,options may be from the build tree, should find
 	    # it in the install tree.
 	    set spawncmd "sid [target_info sim,options] $sidendian2 -e \"set cpu-gdb-socket sockaddr-local 0.0.0.0:$port\""
+	} elseif { [board_info target sim,protocol] == "rawsid" } {
+	    set spawncmd "[target_info sim] [target_info sim,options] -$sidendian --gdb=$port"
 	} else {
 	    set spawncmd "[target_info sim] $sidendian --gdb=$port [target_info sim,options]"
 	}


             reply	other threads:[~2002-04-29 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 15:18 Ben Elliston [this message]
2002-04-29 16:56 ` Michael Snyder
2002-04-30 11:51   ` Ben Elliston

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=15565.50894.249002.589173@tooth.toronto.redhat.com \
    --to=bje@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=graydon@redhat.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