From 6edba76fe8b37bf2a8f7c84353aa0252724bf293 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 13 May 2011 17:17:22 +0000 Subject: * 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. --- gdb/testsuite/gdb.dwarf2/watch-notconst.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.dwarf2/watch-notconst.exp') diff --git a/gdb/testsuite/gdb.dwarf2/watch-notconst.exp b/gdb/testsuite/gdb.dwarf2/watch-notconst.exp index f4e2d52..da13868 100644 --- a/gdb/testsuite/gdb.dwarf2/watch-notconst.exp +++ b/gdb/testsuite/gdb.dwarf2/watch-notconst.exp @@ -22,7 +22,7 @@ if ![dwarf2_support] { } # This test can only be run on x86 targets. -if { ![istarget i?86-*] } { +if { ![is_x86_like_target] } { return 0 } -- cgit v1.1