Index: gdb/testsuite/gdb.arch/i386-unwind.exp |
diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp |
index 4ae59434853dc005566cecf03e89afdb9b0eaf38..d0740db0a63d0824f38a595384ca7985aeaf08c9 100644 |
--- a/gdb/testsuite/gdb.arch/i386-unwind.exp |
+++ b/gdb/testsuite/gdb.arch/i386-unwind.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2003-2004, 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2003-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 |
@@ -21,14 +21,12 @@ |
# Test i386 unwinder. |
-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-unwind" |
-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] |