dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mn10300's simulator returns exit status


From: Alexandre Oliva
Subject: Re: mn10300's simulator returns exit status
Date: 14 Jun 2004 18:48:02 -0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Following up on the thread started at 
http://sources.redhat.com/ml/gdb-patches/2004-06/msg00051.html

I had indeed tested the patch, but only with GDB.  Testing with GCC
revealed that setting needs_status_wrapper to 0 doesn't have the
intended effect, since it's tested for "", not non-zero.  This patch
fixes the problem, and updates the comment before the setting.  Please
check it in.

Index: ChangeLog
from  Alexandre Oliva  <address@hidden>

        * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
        string.

Index: baseboards/mn10300-sim.exp
===================================================================
RCS file: /cvsroot/dejagnu/dejagnu/baseboards/mn10300-sim.exp,v
retrieving revision 1.5
diff -u -p -r1.5 mn10300-sim.exp
--- baseboards/mn10300-sim.exp 9 Jun 2004 18:40:00 -0000 1.5
+++ baseboards/mn10300-sim.exp 14 Jun 2004 20:42:05 -0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
 # Foundation, Inc.
 #
 # This file is part of DejaGnu.
@@ -46,7 +46,7 @@ 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  0
+set_board_info needs_status_wrapper  ""
 
 # We can't pass args to the simulator or get exit status back from the
 # simulator, nor does the simulator support real signals.
-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   address@hidden, gcc.gnu.org}
Free Software Evangelist  address@hidden, gnu.org}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]