[Top][All Lists]
[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: |
15 Jun 2004 19:34:13 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Jun 15, 2004, Rob Savoye <address@hidden> wrote:
> On Mon, Jun 14, 2004 at 06:48:02PM -0300, Alexandre Oliva wrote:
>> 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.
> Got it, thanks. I'm checking it in now.
Thanks. I've just realized the patch I posted didn't include these
comments updates. Sorry about that.
--- mn10300-sim.exp.~1.6.~ 2004-06-15 14:14:16.000000000 -0300
+++ mn10300-sim.exp 2004-06-15 19:33:19.716741174 -0300
@@ -45,11 +45,11 @@ set_board_info ldflags "[libgloss_link_
# Simulator linker script.
set_board_info ldscript "-Tsim.ld"
-# The simulator doesn't return exit statuses and we need to indicate this.
+# The simulator returns exit statuses.
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.
+# We can't pass args to 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 0
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer address@hidden, gcc.gnu.org}
Free Software Evangelist address@hidden, gnu.org}