This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: mn10300's simulator returns exit status
- From: Michael Snyder <msnyder at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Rob Savoye <rob at welcomehome dot org>, gdb-patches at sources dot redhat dot com
- Date: Thu, 03 Jun 2004 18:19:31 +0000
- Subject: Re: mn10300's simulator returns exit status
- Organization: Red Hat, Inc.
- References: <or3c5crhom.fsf@livre.redhat.lsd.ic.unicamp.br>
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 <aoliva@redhat.com>
* 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
------------------------------------------------------------------------