Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: Rob Savoye <rob@welcomehome.org>
Cc: gdb-patches@sources.redhat.com
Subject: mn10300's simulator returns exit status
Date: Thu, 03 Jun 2004 11:42:00 -0000	[thread overview]
Message-ID: <or3c5crhom.fsf@livre.redhat.lsd.ic.unicamp.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: dejagnu-mn10300-sim-no-wrapper.patch --]
[-- Type: text/x-patch, Size: 1139 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 188 bytes --]


-- 
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}

             reply	other threads:[~2004-06-03 11:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03 11:42 Alexandre Oliva [this message]
2004-06-03 18:19 ` Michael Snyder
2004-06-04  4:04   ` Rob Savoye
2004-06-07 20:09     ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=or3c5crhom.fsf@livre.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=rob@welcomehome.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox