aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
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
commit6079c749e1d68ee0fb00e2e7670a33ca90f9e639 (patch)
tree267762a2a6cc08671c00668ea1a04c8b1a17ca87 /gdb/testsuite/config
parent40449e9f8b15e24095f548eacf09f7ef4a62f8fa (diff)
downloadgdb-6079c749e1d68ee0fb00e2e7670a33ca90f9e639.zip
gdb-6079c749e1d68ee0fb00e2e7670a33ca90f9e639.tar.gz
gdb-6079c749e1d68ee0fb00e2e7670a33ca90f9e639.tar.bz2
2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare <graydon@redhat.com> * config/sid.exp: Include support for "rawsid" protocol.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/sid.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/config/sid.exp b/gdb/testsuite/config/sid.exp
index 07a684f..987c9be 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]"
}