From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7410 invoked by alias); 25 Oct 2004 23:21:08 -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 7389 invoked from network); 25 Oct 2004 23:21:04 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 25 Oct 2004 23:21:04 -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.11) with ESMTP id i9PNL14S021223 for ; Mon, 25 Oct 2004 19:21:04 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9PNL0r11341; Mon, 25 Oct 2004 19:21:00 -0400 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 488561294B5; Mon, 25 Oct 2004 19:19:51 -0400 (EDT) Message-ID: <417D8A13.6070507@gnu.org> Date: Mon, 25 Oct 2004 23:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Nick Clifton Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: Update sim-defs.exp to support the rawsid protocol References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00424.txt.bz2 Nick Clifton wrote: > 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. Ok (you're a sim maintainer so if it works for you :-). Andrew > 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] > > >