Use is_x86_like_target to check x86 targets

* gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
	* gdb.arch/i386-cfi-notcurrent.exp: Likewise.
	* gdb.arch/i386-disp-step.exp: Likewise.
	* gdb.arch/i386-gnu-cfi.exp: Likewise.
	* gdb.arch/i386-prologue.exp: Likewise.
	* gdb.arch/i386-size-overlap.exp: Likewise.
	* gdb.arch/i386-size.exp: Likewise.
	* gdb.arch/i386-unwind.exp: Likewise.
This commit is contained in:
H.J. Lu 2012-10-11 17:42:58 +00:00
parent 7d46bcdc05
commit 11fc905705
9 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
* gdb.arch/i386-cfi-notcurrent.exp: Likewise.
* gdb.arch/i386-disp-step.exp: Likewise.
* gdb.arch/i386-gnu-cfi.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-size-overlap.exp: Likewise.
* gdb.arch/i386-size.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/i386-byte.exp: Remove is_ilp32_target check.

View File

@ -18,7 +18,7 @@
# Test stepping over permanent breakpoints on i386.
if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then {
if { ![is_x86_like_target] } then {
verbose "Skipping skip over permanent breakpoint on i386 tests."
return
}

View File

@ -16,7 +16,7 @@
# [RFA] DWARF frame unwinder executes one too many rows
# http://sourceware.org/ml/gdb-patches/2012-07/msg00650.html
if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } {
if { ![is_x86_like_target] } {
return 0
}

View File

@ -18,7 +18,7 @@
# 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
}

View File

@ -23,7 +23,7 @@
# 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
}

View File

@ -21,7 +21,7 @@
# Test i386 prologue analyzer.
if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then {
if { ![is_x86_like_target] } then {
verbose "Skipping i386 prologue tests."
return
}

View File

@ -17,7 +17,7 @@
# 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
}

View File

@ -20,7 +20,7 @@
# Test that GDB can see the 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
}

View File

@ -21,7 +21,7 @@
# 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
}