summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/valop.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-05-13 17:17:22 +0000
committerTom Tromey <tromey@redhat.com>2011-05-13 17:17:22 +0000
commit6edba76fe8b37bf2a8f7c84353aa0252724bf293 (patch)
tree313599b4e9174126ed022a044c1823c8dd6f70dc /gdb/testsuite/gdb.dwarf2/valop.exp
parent72fc29ff1236177b2be5f702ed40c7d327897e7e (diff)
downloadbinutils-gdb-6edba76fe8b37bf2a8f7c84353aa0252724bf293.tar.gz
* lib/gdb.exp (is_x86_like_target): New proc.
* gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target. * gdb.dwarf2/valop.exp: Use is_x86_like_target. * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass -nostdlib to compiler. * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'. * gdb.dwarf2/pieces.exp: Use is_x86_like_target. * gdb.dwarf2/implptr.exp: Use is_x86_like_target. * gdb.dwarf2/dw2-restore.exp: Check for LP64. * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/valop.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/valop.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/valop.exp b/gdb/testsuite/gdb.dwarf2/valop.exp
index f7343ef76da..4dc743427f0 100644
--- a/gdb/testsuite/gdb.dwarf2/valop.exp
+++ b/gdb/testsuite/gdb.dwarf2/valop.exp
@@ -21,7 +21,7 @@ if {![dwarf2_support]} {
return 0
}
# This test can only be run on x86 targets.
-if {![istarget i?86-*]} {
+if {![is_x86_like_target]} {
return 0
}