This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: patch to ignore dump.exp for ia64
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 22 Aug 2003 15:48:48 -0400
- Subject: RFA: patch to ignore dump.exp for ia64
- Organization: Red Hat Inc.
The dump.exp testcase doesn't run on ia64 because a number of the output formats
tested do not handle 64-bit addresses. The following patch causes the test
to be ignored for ia64. I tried unsuccessfully to move the data below the
32-bit line as is done for the alpha.
Ok to commit? If so, ok for gdb 6.0?
-- Jeff J.
2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/dump.exp: Skip for ia64.
Index: gdb.base/dump.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dump.exp,v
retrieving revision 1.3
diff -u -r1.3 dump.exp
--- gdb.base/dump.exp 2 Jun 2003 15:51:24 -0000 1.3
+++ gdb.base/dump.exp 22 Aug 2003 19:45:23 -0000
@@ -39,6 +39,11 @@
lappend options "additional_flags=-Wl,-taso"
}
+if [istarget "ia64*-*-*"] then {
+ # SREC etc cannot handle 64-bit addresses. Skip the test
+ return 0;
+}
+
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}