[RFA] Fix the spurious failures on H8/300 port.

Kazu Hirata kazu@cs.umass.edu
Sat Dec 14 22:05:00 GMT 2002


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.



More information about the Gdb-patches mailing list