Index: gdb/testsuite/gdb.arch/i386-size-overlap.exp |
diff --git a/gdb/testsuite/gdb.arch/i386-size-overlap.exp b/gdb/testsuite/gdb.arch/i386-size-overlap.exp |
index 23cbabc862e187bd85930a9d6232ee7b785b7780..d65ec702287be885bedf06a5e67a2dc7fdc6fe96 100644 |
--- a/gdb/testsuite/gdb.arch/i386-size-overlap.exp |
+++ b/gdb/testsuite/gdb.arch/i386-size-overlap.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2007-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -17,14 +17,12 @@ |
# Test that GDB can handle overlapping sizes of symbols. |
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then { |
+if { ![is_x86_like_target] } then { |
verbose "Skipping i386 unwinder tests." |
return |
} |
-set testfile "i386-size-overlap" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
# some targets have leading underscores on assembly symbols. |
set additional_flags [gdb_target_symbol_prefix_flags] |