summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2002-05-06 12:19:30 +0000
committerBen Elliston <bje@au.ibm.com>2002-05-06 12:19:30 +0000
commit9a44f3736b47bb6efbcad33dbd27ef6f6c05b2ca (patch)
treed66b82dbd80c4281e61c8ff0387250ac4bf328f3
parent4db8eb2cf60241995965505db260c0a542eae1e1 (diff)
downloadgdb-9a44f3736b47bb6efbcad33dbd27ef6f6c05b2ca.tar.gz
2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare <graydon@redhat.com> * config/sid.exp: Include support for "rawsid" protocol.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/config/sid.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5499048d7d1..6c35655e762 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-06 Ben Elliston <bje@redhat.com>
+From Graydon Hoare <graydon@redhat.com>
+
+ * config/sid.exp: Include support for "rawsid" protocol.
+
2002-05-03 Jim Blandy <jimb@redhat.com>
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
diff --git a/gdb/testsuite/config/sid.exp b/gdb/testsuite/config/sid.exp
index 07a684fb305..987c9beab12 100644
--- a/gdb/testsuite/config/sid.exp
+++ b/gdb/testsuite/config/sid.exp
@@ -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]"
}