From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29249 invoked by alias); 13 Oct 2004 10:44:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29233 invoked from network); 13 Oct 2004 10:44:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 13 Oct 2004 10:44:17 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9DAiHNX025552; Wed, 13 Oct 2004 06:44:17 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9DAiGr08666; Wed, 13 Oct 2004 06:44:16 -0400 Received: from localhost.localdomain.redhat.com (vpnuser7.surrey.redhat.com [172.16.9.7]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id i9DAiES9030915; Wed, 13 Oct 2004 11:44:14 +0100 To: gdb-patches@sources.redhat.com CC: binutils@sources.redhat.com Subject: RFA: Update sim-defs.exp to support the rawsid protocol From: Nick Clifton Date: Wed, 13 Oct 2004 10:44:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-10/txt/msg00227.txt.bz2 Hi Guys, Please could I have approval to check in the following patch ? It adds support for the "rawsid" protocol to the simulator's testsuite support code in a similar fashion to the recent patch to dejagnu/config/sim.exp. Cheers Nick sim/testsuite/ChangeLog 2004-10-13 Nick Clifton * lib/sim-defs.exp (sim_run): Add support for the "rawsid" protocol. Index: sim-defs.exp =================================================================== RCS file: /cvs/src/src/sim/testsuite/lib/sim-defs.exp,v retrieving revision 1.7 diff -c -3 -p -r1.7 sim-defs.exp *** sim-defs.exp 13 Sep 2004 20:54:03 -0000 1.7 --- sim-defs.exp 13 Oct 2004 10:40:37 -0000 *************** proc sim_run { prog sim_opts prog_opts r *** 109,120 **** set sim "env $testcase_env $sim" } ! send_log "$sim $always_opts $SIMFLAGS $sim_opts $prog $prog_opts\n" if { "$redir" == "" } { ! remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $prog $prog_opts" } else { ! remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $prog $prog_opts $redir" writeonly } set result [remote_wait host $testcase_timeout] --- 109,127 ---- set sim "env $testcase_env $sim" } ! if { [board_info target sim,protocol] == "sid" } { ! set cmd "" ! set sim_opts "$sim_opts -e \"set cpu-loader file [list ${prog}]\"" ! } else { ! set cmd "$prog" ! } ! ! send_log "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts\n" if { "$redir" == "" } { ! remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts" } else { ! remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts $redir" writeonly } set result [remote_wait host $testcase_timeout]