]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-05-06 Ben Elliston <bje@redhat.com>
authorBen Elliston <bje@au.ibm.com>
Mon, 6 May 2002 12:19:30 +0000 (12:19 +0000)
committerBen Elliston <bje@au.ibm.com>
Mon, 6 May 2002 12:19:30 +0000 (12:19 +0000)
From Graydon Hoare  <graydon@redhat.com>

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

gdb/testsuite/ChangeLog
gdb/testsuite/config/sid.exp

index 5499048d7d1a8860fc657fb48dc154fdb09b1b3e..6c35655e7625b9d8b93a5a782ffc02a843290d47 100644 (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.
index 07a684fb3059d9a3829719696d32b088f9eed7ad..987c9beab12618e31802e353bba22d107a038f6f 100644 (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]"
        }