X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.arch%2Fi386-disp-step.exp;h=40df6a4db928e45c660a0191089b9a9f41b83401;hb=32d0add0a654c1204ab71dc8a55d9374538c4b33;hp=ceb1b1e818e6714284bfaf36ef09ed08afdf7988;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.arch/i386-disp-step.exp b/gdb/testsuite/gdb.arch/i386-disp-step.exp index ceb1b1e818e..40df6a4db92 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, 2010, 2011 Free Software Foundation, Inc. +# Copyright 2009-2015 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,19 +17,13 @@ # Test i386 displaced stepping. -if $tracelevel { - strace $tracelevel -} - -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"