This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[rfa/x86-64] Supress x86-64 structs.exp test?


I just ran the new structs.exp on amd64. Turns out amd digs a hole so deep that GDB gets stuck in free fall (an infinite loop resuming the target?). The attached supresses the testfile until someone gets the chance to see whats really happening.

thoughts? ok?
Andrew
2003-11-20  Andrew Cagney  <cagney@redhat.com>

	* gdb.base/structs.exp: Suppress when "x86_64-*-*".

Index: gdb.base/structs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/structs.exp,v
retrieving revision 1.9
diff -u -r1.9 structs.exp
--- gdb.base/structs.exp	20 Nov 2003 18:03:48 -0000	1.9
+++ gdb.base/structs.exp	20 Nov 2003 18:15:50 -0000
@@ -35,6 +35,13 @@
     continue
 }
 
+# struct return on x86-64 is very broken
+switch -glob -- [istarget] {
+    "x86_64-*-*" {
+	gdb_suppress_entire_file "amd64 is really broken"
+    }
+}
+
 set testfile "structs"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]