From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4536 invoked by alias); 3 Jun 2004 11:42:52 -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 4527 invoked from network); 3 Jun 2004 11:42:52 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 3 Jun 2004 11:42:52 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i53Bgqi5001677 for ; Thu, 3 Jun 2004 07:42:52 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i53Bgq030446; Thu, 3 Jun 2004 07:42:52 -0400 Received: from livre.redhat.lsd.ic.unicamp.br (vpn64-18.boston.redhat.com [172.16.66.18]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i53BgoGA008628; Thu, 3 Jun 2004 07:42:51 -0400 Received: from livre.redhat.lsd.ic.unicamp.br (livre.redhat.lsd.ic.unicamp.br [127.0.0.1]) by livre.redhat.lsd.ic.unicamp.br (8.12.11/8.12.11) with ESMTP id i53BgoXm026494; Thu, 3 Jun 2004 08:42:50 -0300 Received: (from aoliva@localhost) by livre.redhat.lsd.ic.unicamp.br (8.12.11/8.12.11/Submit) id i53Bgncs026476; Thu, 3 Jun 2004 08:42:49 -0300 To: Rob Savoye Cc: gdb-patches@sources.redhat.com Subject: mn10300's simulator returns exit status From: Alexandre Oliva Organization: Red Hat Global Engineering Services Compiler Team Date: Thu, 03 Jun 2004 11:42:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2004-06/txt/msg00051.txt.bz2 --=-=-= Content-length: 205 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? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=dejagnu-mn10300-sim-no-wrapper.patch Content-length: 1139 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 --=-=-= Content-length: 188 -- Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org} --=-=-=--