2002-05-06 Ben Elliston <bje@redhat.com>

From Graydon Hoare  <graydon@redhat.com>

	* config/sid.exp: Include support for "rawsid" protocol.
This commit is contained in:
Ben Elliston 2002-05-06 12:19:30 +00:00
parent 40449e9f8b
commit 6079c749e1
2 changed files with 9 additions and 0 deletions

View file

@ -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.

View file

@ -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]"
}