Index: gdb/testsuite/gdb.arch/i386-disp-step.exp |
diff --git a/gdb/testsuite/gdb.arch/i386-disp-step.exp b/gdb/testsuite/gdb.arch/i386-disp-step.exp |
index 8a51be5f21901143acb91793d873884ec8b83738..812902c06116377644fde3506ee739da76fd776a 100644 |
--- a/gdb/testsuite/gdb.arch/i386-disp-step.exp |
+++ b/gdb/testsuite/gdb.arch/i386-disp-step.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2009-2012 Free Software Foundation, Inc. |
+# Copyright 2009-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 |
@@ -18,14 +18,12 @@ |
# Test i386 displaced stepping. |
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then { |
+if { ![is_x86_like_target] } then { |
verbose "Skipping x86 displaced stepping tests." |
return |
} |
-set testfile "i386-disp-step" |
-set srcfile ${testfile}.S |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .S |
set additional_flags "-Wa,-g" |