This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Don't run amd64-i386-address.exp on OpenBSD
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sat, 17 Dec 2011 15:04:49 +0100 (CET)
- Subject: [PATCH] Don't run amd64-i386-address.exp on OpenBSD
OpenBSD/amd64 doesn't support running 32-bit binaries (a deliberate
choice) so this test won't run. Actually it won't even compile since
we have no 32-bit libraries.
Committed as obvious.
2011-12-17 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
Index: gdb.arch/amd64-i386-address.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/amd64-i386-address.exp,v
retrieving revision 1.4
diff -u -p -r1.4 amd64-i386-address.exp
--- gdb.arch/amd64-i386-address.exp 1 Jan 2011 15:33:40 -0000 1.4
+++ gdb.arch/amd64-i386-address.exp 17 Dec 2011 13:47:14 -0000
@@ -18,7 +18,8 @@
# Test UNsigned extension of the 32-bit inferior address on a 64-bit host.
# On native 32-bit host the test always PASSed.
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_lp64_target] } then {
+if { (![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_lp64_target]
+ || [istarget "*-*-openbsd*"] } then {
verbose "Skipping amd64->i386 adress test."
return
}