This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] Fix the spurious failures on H8/300 port.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: zack at codesourcery dot com
- Date: Sat, 14 Dec 2002 20:30:56 -0500 (EST)
- Subject: [RFA] Fix the spurious failures on H8/300 port.
Hi,
Attached is a patch to fix the spurious failures on H8/300 port that
occur when gcc's testsuite is run with dejagnu present on the host
system.
Without this patch, every single one of gcc's testcases fails.
H8's simulator can return error code appropriately. Thus we don't
need a wrapper, testglue.c.
Tested by running the testsuite of gcc. OK to apply?
Kazu Hirata
2002-12-14 Kazu Hirata <kazu@cs.umass.edu>
* dejagnu/baseboards/h8300-sim.exp: Don't set
needs_status_wrapper.
Index: h8300-sim.exp
===================================================================
RCS file: /cvs/src/src/dejagnu/baseboards/h8300-sim.exp,v
retrieving revision 1.2
diff -u -r1.2 h8300-sim.exp
--- h8300-sim.exp 21 Apr 2002 08:46:47 -0000 1.2
+++ h8300-sim.exp 15 Dec 2002 01:20:38 -0000
@@ -22,8 +22,6 @@
# We only support newlib on this target.
set_board_info cflags "[newlib_include_flags]"
set_board_info ldflags "[newlib_link_flags]"
-# The simulator doesn't return exit statuses and we need to indicate this.
-set_board_info needs_status_wrapper 1
set_board_info uses_underscores 1
# There's no support for argument-passing.