From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19771 invoked by alias); 3 Jun 2004 18:19:35 -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 19754 invoked from network); 3 Jun 2004 18:19:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 3 Jun 2004 18:19:35 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i53IJYi5026940 for ; Thu, 3 Jun 2004 14:19:34 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i53IJWw10130; Thu, 3 Jun 2004 14:19:33 -0400 Received: from redhat.com (dhcp-172-16-25-160.sfbay.redhat.com [172.16.25.160]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i53IJWP07489; Thu, 3 Jun 2004 11:19:32 -0700 Message-ID: <40BF6BB3.6010606@redhat.com> Date: Thu, 03 Jun 2004 18:19:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.4.2) Gecko/20040301 MIME-Version: 1.0 To: Alexandre Oliva CC: Rob Savoye , gdb-patches@sources.redhat.com Subject: Re: mn10300's simulator returns exit status References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00056.txt.bz2 Alexandre Oliva wrote: > This patch enables dejagnu tests to take advantage of the fact that > the mn10300 simulator has long been able to pass the exit status of > the program it runs up to its caller. Ok to install in Sourceware? In keeping with the wishes of our lead-testsuite-maintainer-elect, can you just affirm that you've tested the change and it works? If so, consider it approved, and thanks. > ------------------------------------------------------------------------ > > Index: dejagnu/ChangeLog > from Alexandre Oliva > > * baseboards/mn10300-sim.exp: Set needs_status_wrapper and > noresults to zero. > > Index: dejagnu/baseboards/mn10300-sim.exp > =================================================================== > RCS file: /cvs/src/src/dejagnu/baseboards/mn10300-sim.exp,v > retrieving revision 1.2 > diff -u -p -r1.2 mn10300-sim.exp > --- dejagnu/baseboards/mn10300-sim.exp 21 Apr 2002 08:46:47 -0000 1.2 > +++ dejagnu/baseboards/mn10300-sim.exp 3 Jun 2004 11:38:33 -0000 > @@ -27,13 +27,13 @@ set_board_info ldflags "[libgloss_link_ > set_board_info ldscript "-Tsim.ld" > > # The simulator doesn't return exit statuses and we need to indicate this. > -set_board_info needs_status_wrapper 1 > +set_board_info needs_status_wrapper 0 > > # We can't pass args to the simulator or get exit status back from the > # simulator, nor does the simulator support real signals. > set_board_info noargs 1 > set_board_info gdb,nosignals 1 > -set_board_info gdb,noresults 1 > +set_board_info gdb,noresults 0 > set_board_info gdb,noinferiorio 1 > > # Used by a few gcc.c-torture testcases to delimit how large the stack can > > > ------------------------------------------------------------------------ > >